Tomcat working in local IP but not working in public IP
posted 5 years ago
I am new to linux. Resently I am configuring a linux (CentOS 5) with tomcat and mysql. The system has two network cards one with local ip "192.168.0.27" and another is public ip "126.96.36.199". 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 188.8.131.52 and at last it displays the timeout page with message "The server at 184.108.40.206 is taking too long to respond". what should i do to solve this problem is there any more configuration needed in the tomcat?
And one more thing my tomcat is running in port 80.