visual studio 2019 localhost:1980 doesn't work code example
Example: this site can’t be reachedlocalhost unexpectedly closed the connection. .net framework
Open this in your browser: chrome://net-internals/#hsts
Go to Delete domain security policies
Enter "localhost"
Restart browser