Tomcat7端口8080从外面关闭 - Ubuntu

时间:2018-04-13 05:39:36

标签: java ubuntu server tomcat7 port

这是端口8080的netstat

sudo netstat -nlp | grep 8080
     tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      24892/java

我确实nmap localhost和8080端口已打开

nmap localhost

Starting Nmap 6.40 ( http://nmap.org ) at 2018-04-13 10:56 IST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00043s latency).
Not shown: 990 closed ports
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
443/tcp  open  https
587/tcp  open  submission
3000/tcp open  ppp
3306/tcp open  mysql
8000/tcp open  http-alt
8080/tcp open  http-proxy

Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds

我已经从外面检查了它(IP /主机名),它在关闭列表中。我检查了ping.eu并且端口已关闭

nmap xxx.xxx.xxx.xxx                                   
Starting Nmap 6.40 ( http://nmap.org ) at 2018-04-13 10:59 IST
Nmap scan report for ec2-xxx.xxx.xxx.xxx.ap-southeast-1.compute.amazonaws.com (xxx.xxx.xxx.xxx)
Host is up (0.0013s latency).
Not shown: 988 filtered ports
PORT     STATE  SERVICE
21/tcp   open   ftp
22/tcp   open   ssh
80/tcp   open   http
443/tcp  open   https
2000/tcp closed cisco-sccp
2001/tcp closed dc
3000/tcp open   ppp
3001/tcp closed nessus
4000/tcp closed remoteanything
5000/tcp closed upnp
7000/tcp closed afs3-fileserver
7001/tcp closed afs3-callback

Nmap done: 1 IP address (1 host up) scanned in 4.64 seconds

我的ufw被禁用了。

请帮我解决这个问题。

0 个答案:

没有答案