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

6.5的端口映射问题 #91

Open
JaydenChang opened this issue May 21, 2023 · 1 comment
Open

6.5的端口映射问题 #91

JaydenChang opened this issue May 21, 2023 · 1 comment

Comments

@JaydenChang
Copy link

内核版本:4.4.0-142-generic,os:Ubuntu14.04
端口映射到宿主机,使用 telnet访问宿主机分配给容器的端口,连接失败

# telnet 172.31.93.218 90
Trying 172.31.93.218...
telnet: Unable to connect to remote host: Connection refused
@JaydenChang
Copy link
Author

开始我以为是我代码的问题,后面使用了6.5版本的代码,发现也无法实现端口转发,Ubuntu开启了 ip_forward 功能

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

1 participant