File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Browser cann Watch "Browser cann New topic

Browser cann't find Tomcat server

Ravinder Singh

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...

Ravinder Singh.

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

Joined: Mar 22, 2000
Posts: 13037
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
If that works, look for hosts under WINDOWS/system32/drivers/etc
You want a line that looks like:

I agree. Here's the link:
subject: Browser cann't find Tomcat server
It's not a secret anymore!