Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Why is it that when it comes to games the topic of port forwarding often comes up but for applications such as Windows Live Messenger this is not an issue. There are however some games that do not require port forwarding. Why do some require it and others not?

share|improve this question

migrated from stackoverflow.com Nov 23 '11 at 15:15

This question came from our site for professional and enthusiast programmers.

    
You know... if you vote to close you should really leave a comment - personally, I'd love to hear your reason for clicking that on this question :) –  w00te Nov 23 '11 at 15:06
    
Yeah, I can agree with that now, no arguments here. :) –  w00te Nov 23 '11 at 15:09
1  

3 Answers 3

up vote 10 down vote accepted

Games require port forwarding only if they are the server, ie. receive data. If they are the client, they initialize the connection the server, and the router or firewall allows any communication back on the same channel. However, with certain games like RTS, all players receive data as well, and that needs to be routed.

In short: if you want to host something (expect connections from the outside) you'll need to forward the port.

share|improve this answer

It all depends whether it's necessary to act like a server (e.g. opening a port). Some games/P2P programs where a host actually needs to open a port to allow establish connections to join the game or get the files, require port forwarding because those port won't be visible from outside world. In order to combat this issue, Messengers like Windows Live Messenger allow files to be transferred through their own servers. This is possible since both the sender and the recipient already have connection established.

share|improve this answer

It has to do with P2P nature of some games. IM tools create a connection from your local machine to a central server then keep that pipe open. Some games receive data straight from another player computer and not a central server and when your router gets that request, it must know where to route it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.