Description
When attempting to use remote debugging against an Integration DxP environment, the following error may occur.
System.Runtime.InteropServices.COMException (0x89710023): Unable to connect to the Microsoft Visual Studio Remote Debugger named 'inte.example.com'.
Steps
First, ensure the following documentation has been followed.
The critical steps are the whitelisting of the development machine's(the one you are debugging from) public IP and making sure the debugging bypasses Cloudflare so it is not blocked.
Whitelisting the local machine's IP
- First get the development machine's public IP by browsing to IP chicken.
- In the Azure portal go to AppService -> networking -> access restrictions.
- Whitelist the public IP.
Bypassing Cloudflare
- In the Azure portal, select Settings > Custom domains to obtain the IP address that is used by the URL.
- Add this IP address and the URL from the error message to the hosts file on the machine (located at C:\Windows\System32\drivers\etc\hosts). For example:
111.111.111.111 inte.example.com
Please sign in to leave a comment.