Connecting profiler to WebGL build

I am unable to connect a WebGL build to the Unity Profiler.

Steps I take to attempt a connection:

  1. Disable Windows Firewall.

  2. Build and Run using these settings:

When the build opens in Chrome the console logs a bunch of WebSocket connection failures and then says it’s stopping the profiler:

My specific version # is 2021.3.39f1

Turns out this issue related to the “172.29.149.231” part of what websockets was trying to do. My VPN software had some other network running with that as its IPv4 Address (even though the VPN was “off”). Unity was listening on my “Actual” network, so it worked but only after disabling the superfluous network.