无法从外部访问端口(11444和5072)(在Google计算引擎上使用Ubuntu) [英] not able to access port(11444 & 5072 ) externally(using Ubuntu on Google compute Engine)

查看:216
本文介绍了无法从外部访问端口(11444和5072)(在Google计算引擎上使用Ubuntu)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Proto Recv-Q Send-Q Local Address           Foreign Address       State  PID

tcp        0      0 ip:11080                0.0:*               LISTEN      -               
tcp        0      0 ip:5070                 0.0:*               LISTEN      -               
tcp        0      0 ip:5071                 0.0:*               LISTEN      -               
tcp        0      0 **127.0.0.1:5072**      0.0:*               LISTEN      -                           
tcp        0      0 ip:11443                0.0:*               LISTEN      -               
tcp        0      0 **127.0.0.1:11444**     0.0:*               LISTEN      - 

无法从外部访问端口(11444和5072). 仅在本地主机上工作而不是远程. 我们正在Google Compute Engine上使用Ubuntu. 防火墙规则已添加

Not able to access port (11444 & 5072) externally. Only working on Local Host not remotely. We are using Ubuntu on Google Compute Engine. Firewall rules Added

推荐答案

netstat输出所示,在端口114445072上侦听的服务已绑定到localhost (127.0.0.1),这意味着它们仅接受以下端口上的连接:本地循环接口.将服务配置上的绑定IP地址更改为0.0.0.0.

As the netstat output shows, your services listening on port 11444 and 5072 are bound to localhost (127.0.0.1) which means they only accept connections on the local loop interface. Change the binding IP address on your service configuration to 0.0.0.0.

这篇关于无法从外部访问端口(11444和5072)(在Google计算引擎上使用Ubuntu)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆