因此,我在Oracle Cloud Infrastructure Ubuntu计算实例上安装了Apostrophe-CMS per http://aclouda.com/blog/services/how-to-install-apostrophe-content-management-system-on-ubuntu/,并将我的安全列表配置为允许端口3000。
节点侦听结果为“http://localhost:3000 app.js”
在telnet或浏览器中尝试通过端口3000访问服务器时,都会超时。
检查sudo netstat -tunlp | grep :3000会导致以下结果:
tcp6 0 0 :::3000 :::* LISTEN 1397/node我没有看到我期望看到的tcp 127.0.0.1:3000行项目。要将应用程序设置为在端口3000上侦听tcp,是否需要执行某些操作?
发布于 2020-06-18 21:55:29
这与Oracle默认使用iptables有关。在this stackoverflow comment.中确定的解决方案
https://stackoverflow.com/questions/62418764
复制相似问题