Ports that you must open in Windows Firewall to play or to host a multiplayer game in Age of Empires II

Article translations Article translations
Article ID: 895864 - View products that this article applies to.
Expand all | Collapse all

On This Page

INTRODUCTION

This article describes the ports that you must open in Microsoft Windows Firewall to play or to host a Microsoft Age of Empires II multiplayer game. Additionally, this article lists the port addresses that must be open on computers that are not running Windows Firewall but instead are using a proxy server, a router, Network Address Translation (NAT), or Internet Connection Sharing.

MORE INFORMATION

Windows Firewall

When you use Microsoft Windows XP Service Pack 2 (SP2), you do not have to manually create port exceptions in Windows Firewall. Instead, you can create exceptions for the program itself. Then, when the program tries to access a port, Windows Firewall enables access to that port. To do this, follow these steps.

Note Never open a port for a program that you do not recognize.
  1. Click Start, click Run, type wscui.cpl, and then click OK.
  2. Click Windows Firewall.
  3. Click the Exceptions tab.
  4. Click Add Program.
  5. Click Browse.
  6. Locate the game executable file of the game, and then click Open. By default, the game is installed in the following location:
    C:\Program Files\Microsoft Games\Age of Empires II\
    The Age of Empires II program file can have one of the following names:
    • EMPIRES2.exe
    • AGE2X.exe
  7. Click OK two times.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
875357 Troubleshooting Windows Firewall settings in Windows XP Service Pack 2

Windows Live OneCare

  1. Start Windows Live OneCare.
  2. Click View or change settings.
  3. Click the Firewall tab.
  4. Click Advanced Settings.
  5. Click Add.
  6. Locate the game's executable file, and then click Open. By default, the game is installed in the following location:
    C:\Program Files\Microsoft Games\Age of Empires II\
    The Age of Empires II program file can have one of the following names:
    • EMPIRES2.exe
    • AGE2X.exe
  7. Click OK two times.

Port listings for Age of Empires II

If you do not use the Windows Firewall program, you can still open the ports that are used by the game when you configure your network.

To make sure that these ports are open or to open these ports, contact your network administrator or your Internet service provider (ISP). If you are the administrator of the network, view the documentation that is provided with your networking software to determine how to open these ports.
Collapse this tableExpand this table
ConnectionPorts for Client ConfigurationPorts for Host Configuration
Initial TCP Connection47624 Outgoing47624 Incoming
Subsequent TCP Incoming2300-24002300-2400
Subsequent TCP Outgoing2300-24002300-2400
Subsequent UDP Incoming2300-24002300-2400
Subsequent UDP Outgoing2300-24002300-2400

The Player Matchmaking feature

If you use the Player Matchmaking feature that is provided by GameSpy to find other players, you must also have the ports for the GameSpy Arcade client open. For information about the ports that this program requires, visit the following Web site:
http://www.gamespyarcade.com/support/firewalls.shtml
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 895864 - Last Review: July 1, 2010 - Revision: 2.0
APPLIES TO
  • Microsoft Age of Empires II: The Age of Kings
  • Microsoft Age of Empires II: The Conquerors Expansion
  • Microsoft Age of Empires II Gold Edition
  • Microsoft Security Essentials
Keywords: 
kbnetwork kbhowto KB895864
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com