aspose file tools*
The moose likes Tomcat and the fly likes can serve pages on local desktop, but not to a remote one Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "can serve pages on local desktop, but not to a remote one" Watch "can serve pages on local desktop, but not to a remote one" New topic
Author

can serve pages on local desktop, but not to a remote one

Ken Reichner
Greenhorn

Joined: Apr 07, 2008
Posts: 2
I am hopefully one step away from completing the deployment of my system.

I am running Tomcat 5.5 on an ubuntu 7.10 desktop. I developed a program using JSP and mysql 5.x

I am running tomcat 5.5 from my gnome desktop.

When I point the firefox browser on my server to localhost:8080/Troop Scribe/index.html

I am served my application. It runs with no problems.

When I then move to my Windows box on the same network and I enter http://192.168.1.3/localhost:8080

I get
Not Found

The requested URL /localhost:8080/index.html was not found on this server.
Apache/2.2.4 (Ubuntu) mod_jk/1.2.23 Server at 192.168.1.3 Port 80

.

When I look at http://192.168.1.3/ all I get is a apache_default folder. When I drill down I get "Made IT"

what am I doing wrong?

Thanks

Ken
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Hi Ken,

Welcome to Javaranch.

Originally posted by Ken Reichner:
http://192.168.1.3/localhost:8080


just remove localhost from the above url. as localhost is used only for accessing a web pages on your (local) machine.

try this http://192.168.1.3:8080/

localhost = 127.0.0.1 (its a default IP address)
[ April 07, 2008: Message edited by: Muhammad Saifuddin ]

Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Ken Reichner
Greenhorn

Joined: Apr 07, 2008
Posts: 2
Thank you very much. Now It works :thumb:

Ken
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

you are welcome..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can serve pages on local desktop, but not to a remote one
 
Similar Threads
integrate Tomcat and Apache
problem with accessing mp3 file in tomcat
404 - Page not found ??
Tomcat Doubt
setting index.html to my context root