In this post, I will show you how to access a local website running on localhost(Windows). Specifically, I will show you how to do this for Visual Studio when you are running/debugging your web app/server during development.
This can be very useful for checking if your website works properly on mobile and allows other people(within your network, unless you port forward) to test your site without having to deploy your site on some remote dev./test server.
Select Allow the connection.
Note: If you leave Public checked anyone in a public network can access your site/server. As this is my desktop PC that is always connected to my private network this doesn’t matter.