VPN firewall prevents ipV6 so Visual Studio debugger is failing

operationsIT
operationsIT used Ask the Experts™
on
Hello EE,

Our VPN firewall prevents ipV6 (blocks) so our Visual Studio debugger is failing to connect.
I wonder if anyone knows of a way in Visual Studio to turn off ipV6 and only use IPv4.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Last Knight
Distinguished Expert 2018
Commented:
Hi operationsIT,

Yes, although it is NOT advisable to disable IPv6, if you have no other options here is how to: https://support.microsoft.com/en-us/help/929852/how-to-disable-ipv6-or-its-components-in-windows

Let me know how it goes!
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
I'm certain VS does not intentionally uses IPv6. It is probably getting a DNS AAAA record for the remote target, and prefers IPv6 over IPv4. So you will have to stop the OS to support IPv6, as shown above.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial