Reagrdless of whether I run the application with or without the debugger attached, and whether it's run from VS or via command line (dotnet watch run
) I cannot get the Hot Reload websocket to connect.
The framework automatically adds the aspnetcore-browser-refresh.js file to my page, which attempts to open a websocket connection to a localhost port on machine, but it always fails.
I tried creating new blazor server project to see if the issue still happened...it did.
I am using Visual Studio 2022 and targeting .net 6. Both are up to date.
Has anyone else run into a similar issue and/or have any ideas to try to resolve?