[英]Cannot open port on AWS Amazon Ubuntu
I use AWS Ubuntu Instance and try to open port 8080. This is my "Security Groups" settings:我使用 AWS Ubuntu 实例并尝试打开端口 8080。这是我的“安全组”设置:
I have added port 8080 to iptables我已将端口 8080 添加到 iptables
sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Firewall is disabled防火墙已禁用
sudo ufw status verbose
Status: inactive
Nmap:地图:
nmap localhost
Starting Nmap 7.60 ( https://nmap.org ) at 2020-05-04 17:10 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00012s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
22/tcp open ssh
Only port 22 (SSH) is enabled.仅启用端口 22 (SSH)。 Do you have any ideas how I can open 8080 port?您对我如何打开 8080 端口有任何想法吗?
Are you running any service on port 8080?您是否在端口 8080 上运行任何服务?
Looks to me like no service is actually running on that port.在我看来,该端口上实际上没有运行任何服务。
Try running netcat -l 8080
then attempt to connect to it to validate that it is running.尝试运行netcat -l 8080
然后尝试连接到它以验证它是否正在运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.