Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am running tomcat server on Fedora machine.

when I run tomcat using following command,

service tomcat start

it runs on localhost ,

but when i try to connect to the server using public ip address of the server as follows remotly

http://xxx.xxx.xxx.xxx:8080

it does not start

could someone help me with this issue

Thanks in advance for any help

share|improve this question
    
possible duplicate of [Can not connect to tomcat server externally, ](serverfault.com/questions/148437/…) –  pjz Jun 16 '10 at 6:48

2 Answers 2

I suspect that the IP address you have your tomcat server bound to is 127.0.0.1, which is the loopback interface only available to the local machine. Hence it is not available to remote machines.

share|improve this answer

do: netstat -an | grep 8080

What is the output you get?

Also, What is the IP address of that machine and if you are connecting to it remotely, is firewall a factor? Are both boxes are on local n/w to one another? Also, can you do the following from the remote machine while tomcat is running:

telnet XXX.XXX.XXX.XXX 8080

What do you get? Thanks

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.