This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes question related to servlet and IP address and how to run servlet which is not in LAN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "question related to servlet and IP address and how to run servlet which is not in LAN" Watch "question related to servlet and IP address and how to run servlet which is not in LAN" New topic
Author

question related to servlet and IP address and how to run servlet which is not in LAN

ganesh pol
Ranch Hand

Joined: Apr 29, 2005
Posts: 151
hi friends i am new to java servlet programming
friends i have develop one servlet on my machine
and try to run my applcation of sevlet from my friends machine using my IP address where both machine are in LAN

normally in order to run servlet we type in following way

http://localhost:8080/..... <-- this is file structure

suppose my IP address is 172.16.2.44:8080

then my question is how to run my applcation from machine which is not in a LAN
Sharad Agarwal
Ranch Hand

Joined: Sep 11, 2002
Posts: 167
Originally posted by ganesh pol:
then my question is how to run my applcation from machine which is not in a LAN


The machine you are using to access the application must be connected in some way to your server. Can you ping the server from this machine?


Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question related to servlet and IP address and how to run servlet which is not in LAN
 
Similar Threads
why are "http://localhost:8080/" and "http://201.10.10.1:8080/" not
why are "http://localhost:8080/" and "http://201.10.10.1:8080/" not
Access Web services on a LAN
access tomcat on LAN
accessing a web service