• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much. Now It works :thumb:

Ken
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you are welcome..
 
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic