File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat intranet Web Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat intranet Web Application " Watch "Tomcat intranet Web Application " New topic

Tomcat intranet Web Application

Pawan Hotwani

Joined: Mar 05, 2006
Posts: 4

I have hosted a web application on Tomcat Server(5.5) on my PC (Windows XP OS). I want it to be accessible over intranet. It is working fine when I access it from my own PC using http://localhost:8080... but it is inaccessible from other machines using my machine�s IP address instead of localhost.

Is there any configuration that I need to do?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Welcome to JavaRanch.

What does "inaccessible" mean? What happens if you go to http://ww.xx.yy.zz:8080/ from a different machine? Is it possible to ping your machine from the other system?
Pawan Hotwani

Joined: Mar 05, 2006
Posts: 4
When I try to access from other machine using IE I get "Page cannot be displayed" error and pinging is successful from other machine.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

First, before trying to debug anything with MSIE, shut off the "Show Friendly HTTP Errors" feature. Tools -> Options -> Advanced (tab).

I'm guessing that your machine has the Windows firewall running and isn't allowing outside access to port 8080. Try shutting it off or configuring it to allow access through the ports to which Tomcat is bound.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Pawan Hotwani

Joined: Mar 05, 2006
Posts: 4
I guess there arent any firewall related issues because if I host the same application on Resin Web server it works fine.
I agree. Here's the link:
subject: Tomcat intranet Web Application
It's not a secret anymore!