This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Linking to pc from other pc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Linking to pc from other pc" Watch "Linking to pc from other pc" New topic

Linking to pc from other pc

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 744
Hi, I managed to get my netbeans programs working on the laptop.
Basically I used ipconfig in the command prompt to get my pc's IP
address (say XXX.XXX.XXX.XXX), then used the URL...

http://XXX.XXX.XXX.XXX:8081/index.html on my pc's browser, and I
was amazed that it worked.
Then I tried the same address on the laptop, and I was even more amazed
that it worked.
The thing is... my pc, and the laptop share the same router.
I got a couple of friends of mine (in other countries) to try the same
address, but it did'nt work for them.

So it seems that address only works on this LAN.
The router has a different address, but I don't have a clue how to
access my pc from outside the LAN, any ideas would be great.

But anyway, its good that I can try out my servlets and jsps between
two computers in my house.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Linking to pc from other pc