Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i recently installed apache tomcat on my existing lamp webserver ubuntu which runs on port 80.

before i start tomcat, i made absolutely sure to change its port number to avoid conflict on my LAMP.

<Connector port="8181" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />

then i start tomcat service tomcat7 start

root@webserver:/usr/lib/jvm# service tomcat7 start
 * Starting Tomcat servlet engine tomcat7                                [ OK ] 

hoping to see my default tomcat apache web by going to http://<ip>:8181 but it doesnt load the page.

i also tried checking my lamp server http://<ip>:80 it doesnt load the page either.

now, when i turn off my my apache tomcat, my lamp doesnt load anymore.. is there anything i could do about this? or how do i approach on troubleshooting this..

share|improve this question
    
After starting both of them, run these commands and post the outputs. 1. netstat -a | grep 80 2. netstat -a | grep 8181 –  thefourtheye Jun 14 '13 at 14:55
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.