Updated Ports Required For Remote Debugging With Visual Studio 2008 SP1

I recently discovered TCP port 2922 is also required to successfully setup a remote debug session from Visual Studio 2008 SP1 to a Windows 2003 machine. According to the Wizard and documentation this port is not mentioned, and searches on the internet describe it as “CESD Contents Delivery Data Transfer”. Normally I would expect to find this documented somewhere in a Microsoft KB article including this port.

The complete list of ports on the Visual Studio (local) side is hence now:-

Visual Studio Side / Local

  • DCOM – TCP 135
  • IKE NAT Traversal – UDP 4500
  • IKE NAT – UDP 500
  • CESD – TCP 2922

The remote side also requires TCP 445, UDP 137, and UDP 138. Perhaps also 2922, but I cannot be sure because the firewall was not configured in the test environment I had to work in.

The official Microsoft documentation (without port 2922) is here: http://msdn.microsoft.com/en-us/library/bb385831.aspx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s