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