Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to establish a connection between 2 PCs. Point is to practice in writing client-server applications and similar stuff. I've heard around, that I can access another PC in network by address like "Router IP:port number". Am I right or i got it wrong?

So how do I configure router to let connections to certain ports? And what would address look like, if I'm, say, connecting to 80 port on my home server?

P.S. Will be grateful for links to some tutorials on this matter, if any.

share|improve this question
Your router only worries about traffing coming in, and going out, to your Internet connection. It does not affect your internal traffic. – KCotreau Jun 26 '11 at 16:03
up vote 1 down vote accepted

The bit you have read about router-ip:port only applies if you want to connect to a server behind the router from the outside world.

If you want to connect to a server (say a web server like apache) on the local network it's usually as easy as starting the webserver on server one. And then on another computer enter in a webbrowser.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .