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

标签 linux ubuntu port ubuntu-12.04 google-compute-engine

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。 添加了防火墙规则

最佳答案

只是检查 - 您是否还配置了防火墙?默认情况下,这些端口可能会被防火墙阻止。您可以通过开发者控制台或 gcloud 命令行工具将其配置为启用端口。

有关 Google Compute Engine 防火墙的一些额外信息,请访问: https://cloud.google.com/compute/docs/networking?hl=en#firewalls

关于linux - 无法从外部访问端口(11444 和 5072)(在 Google 计算引擎上使用 Ubuntu),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33083086/

相关文章:

java - 简单的 Java IRC 客户端

python - 更改 Cherrypy 端口并重新启动 Web 服务器

linux - 如何运行一个程序,然后在该程序中同时执行一个命令

php - 调试 php.ini 语法错误

python - 如何使用 owfs 读取 iButton 温度记录器?

linux - Nginx 403 禁止 - Ubuntu

java - 如何为 Spring Boot 应用程序配置端口

linux - 在没有 nautilus 通知的情况下使用 bindfs 安装

linux - 'find' 或任何其他工具可以搜索文件广度优先吗?

php - 为什么这段代码不能在 linux 服务器上运行?