• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ken Reichner
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ken Reichner
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much. Now It works :thumb:

Ken
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you are welcome..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic