First, try Ctrl-F5 in the browser to hard refresh the page. (although you may also need to clear out cookies).
Make sure your local site is not using SSL. You can disable it in the database UPDATE dbo.Stores SET SslEnabled = 0
Also, in that table (or once you can connect, use admin) be sure the URL is not using https - e.g. https://yourstore.com/ should be http://yourstore.com/
Can anybody help? While running the Solution from Visual Studio it redirects to the "Site can't be reached" page. I am running the Version 4.40.4 on visual studio 19 v.16.11.5