I try to run the Visual Studio Remote Debugger in a Windows Container on Windows Server 2016 TP4. Since it runs inside a conta
Okay, throwing out the really obvious here. From your post, the command
".\msvsmon.exe /nostatus /silent /nosecuritywarn /nofirewallwarn /noclrwarn /port 4020 /hostname WIN-DE6U4068NAF"
will just print that exact same string in powershell. It doesn't actually start the debugger. The echo output shows this. (I might be reading too much into this)
So /nofirewallwarn
only suppresses the blocked by firewall warning (YMMV), and doesn't actually get through the firewall. Have you run it with /prepcomputer
first?
Have you tried /anyuser
to bypass auth and allow just TCP to work?
Is msvsmon actually bound to the right network interface? Sometimes, being bound to the loopback adapter means that it can only be reachable locally. When you netstat
does it show listening on all interfaces (0.0.0.0
)?
Have you tried running it as a service with the /service
option?
There might be some more gotchas, though. I've usually had a tough time getting it to work in the field.