Not absolutely sure yet that it’ll fix the problem (just tried the setting myself), but you could try to set a registry key for Google Chrome (the equivalent key exists for Edge) :
- Run ‘regedit’ to open windows registry (If permission issue came then run that command with Admin command prompt)
- Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome
- Create new DWORD value with “InsecurePrivateNetworkRequestsAllowed” Name
- Change Value to “1”
- Restart your Browser
Sources : javascript - Chrome 98 Private Network Access problem w/ disabled web security: Request had no target IP address space, yet the resource is in address space local - Stack Overflow
Chrome Enterprise release notes - Chrome Enterprise and Education Help (Private network access preflights for subresources)
At my job we also had a problem with this Chrome version :
Chrome sends a CORS preflight request ahead of any private network requests for subresources, asking for explicit permission from the target server. This request carries a new Access-Control-Request-Private-Network: true header, and the response must carry a matching Access-Control-Allow-Private-Network: true header.