Error: Firewall No Authentication


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Error: Firewall No Authentication.

The Internet Connection Firewall on the remote machine is not set up to allow remote debugging. For remote debugging with No Authentication, msvsmon.exe must be added to the exceptions list. Opening some IPSEC ports may be necessary as well.

System_CAPS_ICON_note.jpg Note

The remote debugger is able to automatically configure the Windows Firewall. When using a firewall other than the Windows Firewall such as third party software firewall or a hardware firewall, the firewall must be manually configured to allow remote debugging. To do so, allow traffic on TCP/IP ports that msvsmon.exe is listening on. By default, these are port 4018 and 4019, where 4018 is used on all Operating Systems, and 4019 is used only on Windows x64 to allow debugging x86 processes.

For more information, see Set Up the Remote Tools on the Device.