File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat intranet Web Application " Watch "Tomcat intranet Web Application " New topic
Author

Tomcat intranet Web Application

Pawan Hotwani
Greenhorn

Joined: Mar 05, 2006
Posts: 4
Hi,

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?

Regards,
PAWAN
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39544
    
  27
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?


Ping & DNS - updated with new look and Ping home screen widget
Pawan Hotwani
Greenhorn

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
Sheriff

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
Greenhorn

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: http://aspose.com/file-tools
 
subject: Tomcat intranet Web Application
 
Similar Threads
Url of web aplpication
compile?????
Eclipse - J2EE perspective - Tomcat question...
ControllerServlet Not found
Change my application URL