Score:0

Port 8080 (tomcat7) wont connect from outside the localhost computer

in flag

I am running tomcat7 but I don't think there is an issue with the setup. I can connect to port 8080 from the local machine. I cannot connect to 8080 from other computers on the network. There is no firewall running.

netstat -tulpn | grep LISTEN

tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -
tcp6       0      0 :::22                   :::*                    LISTEN      -
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      -
tcp6       0      0 :::7877                 :::*                    LISTEN      -
tcp6       0      0 :::8080                 :::*                    LISTEN      -
tcp6       0      0 :::80                   :::*                    LISTEN      -
nmap localhost 
PORT     STATE SERVICE
22/tcp   open  ssh
80/tcp   open  http
3306/tcp open  mysql
8080/tcp open  http-proxy
nmap server (from different computer)
PORT    STATE  SERVICE
22/tcp  open   ssh
80/tcp  open   http
443/tcp closed https
There is no firewall running
sudo ufw status
Status: inactive

Everything I see says firewall is problem, but there is no firewall running. Port 80 is visible externally but port 8080 is not.

Any help would be appreciated.

mpboden avatar
do flag
What OS are you using? Desktop or server installation?
ar flag
Which firewall are you using if you use `ufw`, [edit your question](https://askubuntu.com/posts/1478625/edit) and add the output of `sudo ufw status`. While you are editing your question, add the OS and version number in your question as well.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.