Page 1 of 1

Tomcat working in local IP but not working in public IP

Posted: 2010/12/30 10:18:18
by loojah

I am new to linux. Resently I am configuring a linux (CentOS 5) with tomcat and mysql. [b]The system has two network cards one with local ip "" and another is public ip "".[/b] The Tomcat configure is working fine with in the local network any computer in local network can browse the site hosted in the tomcat server but when i tried to browse same using my public ip it is not working. The status in the browser say connecting to and at last it displays the timeout page with message [b]"The server at is taking too long to respond". what should i do to solve this problem is there any more configuration needed in the tomcat? [/b]

And one more thing my tomcat is running in port 80.

Please help me



Tomcat working in local IP but not working in public IP

Posted: 2011/01/03 03:02:10
by pschaff
Welcome to the CentOS fora. Reading [url=]FAQ & Readme First[/url] is recommended for new users.

Can you access the external IP with other protocols such as ssh on port 22 or an alternate port? Are you sure the ISP is not blocking port 80? If you need additional help please read [url=]How to provide information about your system[/url] and provide the output from running [b]./ network[/b] as well as additional information about your network configuration.