0

我无法在谷歌云平台上运行的 8081 端口访问 Cloud9。

我确信应用程序正在该端口上运行,并且其他端口(例如http://xxx.xxx.xxx.xxx:3000)上同一台机器上的应用程序可以正确访问,因此这似乎不是iptables设置问题。

我没有收到来自服务器的响应http://xxx.xxx.xxx.xxx:8081/

谷歌云平台配置:

允许的协议和端口包括 tcp:8000-8089

IP 地址设置为静态和外部

用于运行 Cloud9 的命令:

node server.js -w /home/workspace -l 0.0.0.0 -p 8081 -a username:password
4

1 回答 1

0

问题是我不小心在 Google 云防火墙设置 ( )中添加了一些Target 标签。Networking > Firewall rules

删除这些标签解决了我的问题,我只使用默认的Apply to all targets设置。

于 2016-10-13T11:16:21.997 回答