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

日志打印出来了,主机能telnet容器,但是容器不能telnet宿主机 #10

Open
fubing005 opened this issue Mar 10, 2021 · 2 comments

Comments

@fubing005
Copy link

以下是打印出来的日志,代码里面服务都是使用127.0.0.1连接的,这个不用修改吧,好几天了,确实是搞不懂了
2021-03-10 16:37:32 [error] [swoft] [logid:6048854ce1df0] [spanid:0] trace[ConnectionPool.php:234,Swoft\Pool\ConnectionPool->getConnectionByChannel] Service connect fail errorCode=115 host=127.0.0.1 port=8092

@brewlin
Copy link
Owner

brewlin commented Mar 10, 2021

建议就跑在宿主机吧,docker的需要自己配置网络这些
宿主机直接本地通讯了

@fubing005
Copy link
Author

建议就跑在宿主机吧,docker的需要自己配置网络这些
宿主机直接本地通讯了

感谢感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants