LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Making Tomcat available from the outside? (https://www.linuxquestions.org/questions/linux-networking-3/making-tomcat-available-from-the-outside-506616/)

Yig 12-01-2006 12:52 PM

Making Tomcat available from the outside?
 
Hi,

Tomcat 5 is installed and running on a CentOS 4.4 server. We mainly use it because we use Luntbuild. Luntbuild send an email when a build is done with the URL of the server where the report is. Internally, that works fine.

Since Tomcat is using port 9090, I thought that by making my hardware firewall forward port 9090 to the Linux server would do the trick but it look like I'm wrong.

If I go to www.domain.com:9090 or www.domain.com:9090/luntbuild I get a blank page.

Any suggestion to what I should look for?

Thanks!

paulsm4 12-03-2006 01:39 AM

Hi -

You're right - "making Tomcat available from outside" should be as simple as opening your firewall to the correct port.

Please try this:

1. Make sure "9090" is the right port ("8080" is a common default port), and make sure you can access Tomcat locally.
EXAMPLE:
http://localhost:9090/myapp

2. Make sure the firewall is indeed open for port 9090.
Make sure there are no restrictions (e.g. on MAC addresses)
Make sure the firewall is configured to direct requests for port 9090 to your Linux server.

3. Make sure there aren't any OTHER firewalls (software or hardware) that might be blocking the connection.

4. Check your Tomcat logs.

'Hope that helps .. PSM

Yig 12-04-2006 09:35 AM

Yes, it does help.

1. It is accessible from locally on the network. I installed it on 9090 because somethign else was using 8080.

2. TCP Port 9090 is pointing to the Linux server on port 9090. Does Tomcat uses TCP or UDP?

3. There shouldn't be other firewalls in the way. I checked on the server and the firewall is disabled and SELinux is tunred off. Anything selse I need to check?

4. There is a lot of logs in tomcat/logs... Any idea which one I should check?

I ran nmap -sT localhost and I noticed that

9090/tcp open zeus-admin

Unless that zeus thing is related to Tomcat, I think I found my problem. And a rpm -qa|grep -i zeus does not return anything.


All times are GMT -5. The time now is 05:10 AM.