Connecting Tech Pros Worldwide Forums | Help | Site Map

local host not accessible

Newbie
 
Join Date: Nov 2008
Posts: 3
#1: Nov 5 '08
i have just installed apache tomcat 5.5. when i call it in my browser, http://localhost/ nothing happens, even when i use my IP adress, still nothing happens.

i have also installed mysql 5, php 5. how do i link all these together to get them working, for development.

numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,572
#2: Nov 5 '08

re: local host not accessible


Have you made sure that your apache server is running? You can start it using:

Expand|Select|Wrap|Line Numbers
  1. /usr/sbin/apachectl start
  2.  
Also, for getting php working with apache, there are plenty of documents on this if you just simply search google. I would ensure that you had mysql installed prior to the php installation though.

Regards,

Jeff
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#3: Nov 7 '08

re: local host not accessible


Tomcat is an implementation of the Java servlet and JSP specifications.
Perhaps you wanted the Apache server ?
Newbie
 
Join Date: Mar 2009
Location: India
Posts: 5
#4: Mar 2 '09

re: local host not accessible


Hi,

Please check the port where the Apache tomcat is running in conf/server.xml and open page using

http://localhost:8027

If the server is running on 8027.

Thanks
Bharath
Reply