LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-01-2006, 12:52 PM   #1
Yig
Member
 
Registered: Aug 2005
Location: Montreal, Qc
Distribution: CentOs 4.5/5.0
Posts: 113

Rep: Reputation: 15
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!
 
Old 12-03-2006, 01:39 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 12-04-2006, 09:35 AM   #3
Yig
Member
 
Registered: Aug 2005
Location: Montreal, Qc
Distribution: CentOs 4.5/5.0
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Tomcat 4.0.1 and Tomcat 5.0.28 coexist in one server? g18397 Linux - Software 0 05-16-2006 03:16 AM
tomcat digdog Linux - Software 0 12-10-2004 11:09 PM
Tomcat treotan Linux - Networking 3 06-18-2004 06:18 PM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration