This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion 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: 750
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.
I agree. Here's the link:
subject: Linking to pc from other pc
It's not a secret anymore!