简体   繁体   English

服务器不接受端口 9999 上的请求

[英]Server not accepting request on port 9999

I am trying to deploy my socket[phpws library] on amazon EC2 instance.我正在尝试在亚马逊 EC2 实例上部署我的套接字 [phpws 库]。 For this I deployed code and run socket.为此,我部署了代码并运行了套接字。 I have selected port 9999 for socket handshake, but it is not working.我为套接字握手选择了端口 9999,但它不起作用。 I tried to captured request on this server by command :我试图通过命令在此服务器上捕获请求:

sudo tcpdump -i any port 9999

Then I hit this port, I did not received any request.然后我点击这个端口,我没有收到任何请求。 I thought this is because of iptables.我认为这是因为 iptables。 So I checked it by command :所以我通过命令检查了它:

sudo iptables -L

But it clearly shows allow for all requests.但它清楚地表明允许所有请求。 Here is output :这是输出:

Chain INPUT (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination

Chain FORWARD (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination

Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination

At this point I am clueless how to move forward.在这一点上,我不知道如何前进。 Any help is gently appreciable.任何帮助都是可以理解的。 Looking for response.寻找回应。

您还必须在附加到 EC2 实例的 AWS 安全组中打开端口9999

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从 http 请求中阻止端口服务器 - How to block port server from http request linux 中的导轨。 服务器是否在主机“localhost”(::1) 上运行并接受端口 5432 上的 TCP/IP 连接? - Rails in linux. Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432? Postgresql:连接被拒绝 服务器是否在主机“127.0.01”(127.0.0.1)上运行并接受端口 5432 上的 TCP/IP 连接? - Postgresql: Connection refused Is the server running on host “127.0.01” (127.0.0.1) and accepting TCP/IP connections on port 5432? Linux不接受与端口25的连接 - Linux not accepting connections to port 25 只接受来自特定服务器的请求到我的asp.net页面 - accepting only Request from specific server to my asp.net pages 带有 openSSL 的 libwebsocket 服务器不接受连接 - libwebsocket server with openSSL not accepting connection 在服务器中哪里可以找到请求是对网站的DNS或端口上的服务器IP - Where to find in server whether the request was made to DNS of website or the Server IP on the port PostgreSQL不接受端口5432上的TCP / IP作为Linux上的Rails - postgresql not accepting tcp/ip on port 5432 for rails on linux SSH服务器以不接受连接的系统帐户启动 - SSH server started with a system account not accepting connections 服务器到服务器文件传输端口? - Server to server file transfer port?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM