Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行rpc分支时,comsumer会不停的报connect fail的错误 #7

Closed
StrongMak opened this issue Dec 31, 2023 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@StrongMak
Copy link

想问一下单单是run rpc这一块,我把con pro跑起来后,con一直connect fail是啥原因呀,我是用docker上的linux,ubuntu22跑的,会和端口啥的有关系吗,谢谢解答image

@578223592
Copy link
Collaborator

578223592 commented Jan 2, 2024

抱歉回复的晚
可能会跟端口有关系,你需要注意下面这几点:
1.先开provider,再开consumer
2.两个程序运行在一个地方(一个docker)
3.确定provider监听已经打开,运行后类似于下图
image
其中
image
看出已经成功监听

推荐使用main分支,里面也保留了rpc的example代码

@578223592 578223592 changed the title 但运行rpc这个分支时,comsumer会不停的报connect fail的错误并倒数 运行rpc分支时,comsumer会不停的报connect fail的错误 Jan 3, 2024
@578223592 578223592 added the bug Something isn't working label Jan 8, 2024
@578223592
Copy link
Collaborator

我关闭这个issue了,如果还有问题,欢迎随时重新打开或者创建新的issue提问。 @StrongMak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants