无法从外部访问端口(11444和5072)(在Google计算引擎上使用Ubuntu)

编程入门 行业动态 更新时间:2024-10-24 20:14:17
本文介绍了无法从外部访问端口(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输出所示,在端口11444和5072上侦听的服务已绑定到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)

本文发布于:2023-10-07 12:50:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1469432.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:端口   引擎   Google   Ubuntu

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!