我有一个正在侦听端口8088的java进程
netstat -anltp | grep "LISTEN"
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp6 0 0 127.0.0.1:9991 :::* LISTEN 11189/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 :::8088 :::* LISTEN 11189/java
我可以在本地获得wget的响应:
wget http://54.xxx.xxx.13:8088/admin/login
--2014-02-20 11:18:53-- http://54.xxx.xxx.13:8088/admin/login
Connecting to 54.xxx.xxx.13:8088... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1991 (1.9K) [text/html]
Saving to: ‘login.5’
100%[============================================================================================================>] 1,991 --.-K/s in 0s
2014-02-20 11:18:53 (138 MB/s) - ‘login.5’ saved [1991/1991]
但是当我在浏览器中尝试时它没有响应。为什么不?我在aws控制台中设置了正确的安全性,端口80和端口8080正在工作。