if u already didn't configure iptables so that means you have full access to any open ports. so what I suggest is to install nmap and check the apache port i up or tomcat is up by typing:
nmap -p 1-50000 localhost
it will show you the open ports on the host
Regards,
|