This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 8 in Action this week in the Java 8 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: 743
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
Similar Threads
invoke EJB on a remote machine with dynamic IP
Apache cant be seen on WAN
Executing Netbeans 3.6 web application from another pc
Tomcat Port Forwarding