Node服务器项目,浏览器无法连接,无法连接端口
有一个实时聊天的节点项目,在本地运行良好,但在服务器(centOS7)中无法运行,防火墙打开了。
节点@16,14,0
这里是安装的项目模块,并表达listen(3000,'0.0.0.0')
├── [电子邮件受保护] ├── [电子邮件受保护] ├── [电子邮件受保护] ├── [电子邮件受保护] ├── [电子邮件受保护] └── [电子邮件受保护]
当我询问“telnet”时本地3000端口无法连接server.telnet XX.XX.XX.XX 3000
;当我在服务器上netstat -ntpl
时,它显示3000端口正在激活。
浏览器无法获取资源,控制台:找不到给定 URL 的资源。
crbug/1173575,已弃用非 JS 模块文件。
There is a node project about realtime chat, it runs fine locally, but can't run in the server(centOS7),firewall is opened。
node@16,14,0
Here is the project modules installed,and express listen (3000,'0.0.0.0')
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
And when I ask a 'telnet' the 3000 PORT at local, it can't connect the server.telnet XX.XX.XX.XX 3000
;when I netstat -ntpl
at the server,it shows the 3000 port is activing.
browser can't get resources, console:No resource with given URL found.
crbug/1173575, non-JS module files deprecated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论