locked
How to get Remote Debugging to work over the Internet?

    Question

  • So I got deployment over the Internet working now. Despite the lack of a progressbar or any progress information whatsoever, deployment works.

    However when I want to start debugging I get:

    Unable to start debugging 'C:\Windows\SysWOW64\WWAHost.exe'.

    The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.

    Which ports need to be opened beside 4018?

    Friday, June 13, 2014 12:41 PM

Answers

  • Ok so figured it out: We need to open port 4018 (that's the default when you start the Remote Tools, but you can change it). Additionally we need to open 4019 (I assume as the back-channel for debugging). Which let me believe its always the port for the Remote Tools that you can changed  +1.

    So there you have it. Happy remote debugging/deployment!

    And no thanks to MSFT who refused to state the port rules anywhere in the MSDN.

    How about a dialog when you confirm the port that you need to open that port (+1 more) on your router firewall if you want to access the debugger tools from the Internet?

    • Marked as answer by pkursawe Friday, June 13, 2014 2:01 PM
    Friday, June 13, 2014 2:01 PM