Tomcat working in local IP but not working in public IP

Support for webhosts that use CentOS
Post Reply
loojah
Posts: 1
Joined: 2010/12/30 10:01:10

Tomcat working in local IP but not working in public IP

Post by loojah » 2010/12/30 10:18:18

Hello,

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 "192.168.0.27" and another is public ip "202.51.93.42".[/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 202.51.93.42 and at last it displays the timeout page with message [b]"The server at 202.51.93.42 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

thank....

Loojah

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Tomcat working in local IP but not working in public IP

Post by pschaff » 2011/01/03 03:02:10

Welcome to the CentOS fora. Reading [url=https://www.centos.org/modules/newbb/viewforum.php?forum=47]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=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How to provide information about your system[/url] and provide the output from running [b]./getinfo.sh network[/b] as well as additional information about your network configuration.

Post Reply

Return to “CentOS 5 - Webhosting Support”