GeeCON Prague 2014*
The moose likes Sockets and Internet Protocols and the fly likes why are Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "why are "http://localhost:8080/" and "http://201.10.10.1:8080/"  not" Watch "why are "http://localhost:8080/" and "http://201.10.10.1:8080/"  not" New topic
Author

why are "http://localhost:8080/" and "http://201.10.10.1:8080/" not

gopal singh
Greenhorn

Joined: Feb 06, 2001
Posts: 9
why are "http://localhost:8080/" and "http://201.10.10.1:8080/" not
Actually i am running the JAVA WEB SERVER(TM) on my machine
and all of the "http://localhost:8080/","http://201.10.10.1:8080/"
and "http://127.0.0.1:8080/" are resolved perfectly by Internet
Explorer when i am woking on my standalone PC but two of them i.e.
"http://localhost:8080/" and "http://201.10.10.1:8080/"(IP address
of my machine) are not resolved in the LAN envionment of my College
Lab.only the loopback URL i.e. "http://127.0.0.1:8080/" is doing fine.
to specify more there is no internet connection in my lab but a simple
peer to peer LAN enviornment.
what may be the possible reason forthis problem??
maateen ashraf
Ranch Hand

Joined: Jan 08, 2001
Posts: 122
its just simple that
when ur home pc does have ip address 201.10.10.1
but ur college pc doesn't have that address.
just get the ip address of ur college pc.
tell if problem persists
gopal singh
Greenhorn

Joined: Feb 06, 2001
Posts: 9
dear Maateen,
the address i have given here is just for symbol
actually i am giving the actual ip address of my lab pc.
and http:\\localhost:8080\ is also not resolving.so the problem
is not so simple.
Ravee Bhat
Ranch Hand

Joined: Nov 26, 1999
Posts: 72

hi Gopal,
do you have any other proxy setting in your browser?
regards
ravee.
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Hi!
Well 127.0.0.1 is the ip of the local host.. but then you havent told anything about the LAN that you have in the college. if you do have one with Winnt then the ip of the machine (on typing ipconfig in the command prompt) together with the port on which the JWS is running will suffice.
Regds
Gautham Kasinath


"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
 
GeeCON Prague 2014
 
subject: why are "http://localhost:8080/" and "http://201.10.10.1:8080/" not