*
The moose likes Tomcat and the fly likes Browser cann't find Tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Browser cann Watch "Browser cann New topic
Author

Browser cann't find Tomcat server

Ravinder Singh
Greenhorn

Joined: Feb 18, 2002
Posts: 5
Hi All,

I recently installed Tomcat5.0.28 on XP at home. I am using JDK 1.5. I have completed all the necessary requiments. I am sure about it.... I start tomcat from command prompt using "startup.bat" and the server starts properly..

The problem is when i say "http://localhost:8080" on browser (IE), it says "cann't find the server". I checked it with Netscape also, without any luck.... Do I need to do any other setting ??

Can anybody tell me what cud be the problem. I have set CATALINA_HOME, JAVA_HOME properly.... I have been working on tomcat4.x previously on .NT/2K without any problem.... Any suggestions/solutions would be greatly appreciated...

regds,
Ravinder Singh.


Ravinder Singh<br />Sr.Software Engineer,<br />SCJP.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
If you are sure that Tomcat is really running (check the Task Manager), the likely cause is that your hosts file does not define "localhost" - try http://127.0.0.1:8080/
If that works, look for hosts under WINDOWS/system32/drivers/etc
You want a line that looks like:

Bill
 
Consider Paul's rocket mass heater.
 
subject: Browser cann't find Tomcat server