I have a dedicated Linux server to host my website, which apparently runs on apache and i have placed the code in /var/www/html/ and its working fine. But now i wanted to host another one(war file) using the tomcat but after i install tomcat and doing everything i am not able to access the tomcat. Tomcat is running fine but couldn't access tomcat home page with http://IP_Adress:8080/ As far as i understood , the firewall is blocking the port 8080. So could anyone please help me unblocking the port.
You would have had more success asking about this in the Linux forum, since it's related to the OS-supplied firewall.
Usually, you'd add a rule to the firewall, like so:
For RedHat/Fedora/CentOS, replace the INPUT chain with RH-Firewall-1-INPUT. You can also add limitations to which source IP addresses are authorized.
That will give you direct access from outside the box to Tomcat. On production servers, it's common to use Apache as a proxy to Tomcat, using either mod_proxy or the coyote connector. Which allows you the ability to talk to Tomcat on port 80 just like standard web clients like. When you install the Apache httpd server, most installers also add a firewall rule opening up port 80.
Customer surveys are for companies who didn't pay proper attention to begin with.