I'm asking my network admin to open up ports on the firewall to allow remote debugging. It says in the documentation on MSDN that it needs UDP 135. However, the admin says that a number of non-standard 19xx ports are being used.
Exactly what ports are required for remote debugging to work?
You need to open ports on both your computer and the remote computer. Primarily it's TCP 135 not UDP 135.
All the ports and steps are listed here:
http://msdn.microsoft.com/en-us/library/h0d7tte4(v=vs.120).aspx
You can link your Admin to that page. If you don't have IPSec rules it basically comes down to:
Your PC: TCP 135
Remote PC: TCP 135, TCP 139, TCP 445, UDP 137, and UDP 138
Update: Fix the link as it was updated. Note, Remote Debugging transport changed significantly between Visual Studio 2010 and Visual Studio 2012+. The above ports should work for VS2010. Follow the link to see more information on VS2012+.
For Visual Studio 2013 I just needed to open 4018 and 4019 and it works like a breeze
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With