• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Tomcat + firewall

L

liquorvicar

Guest
I have installed Tomcat for a client but I'm a bit stuck as I've never used Tomcat so I've no idea how it works!
I have opened port 9080 on the firewall as this is what they're using to connect but they say it's still not working. Looking at the server I see it listening on the following ports:
netstat -anp | grep LISTEN.*java
tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 7386/java
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 7386/java
tcp 0 0 0.0.0.0:9008 0.0.0.0:* LISTEN 7386/java
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 7386/java
tcp 0 0 0.0.0.0:9080 0.0.0.0:* LISTEN 7386/java
Which, if any, of these do I need to open?
All traffic on the loopback interface is allowed in and out via the firewall.
TIA
 
Back
Top