Reputation: 491
I am using WSL2 with Windows 11 with Ubuntu
Currently I have a app running on localhost and I want to be able to access it on app.local
(e.g.).
I have added an entry
127.0.0.1 app.local
Inside of my hosts file on Windows & inside of my Linux distrubution. From here on it get's weird when I ping app.local everything works as expected and I receive a few responses.
When I want to access my application now in the Browser (Firefox & Edge) it redirects me to https://app.... and responds with "page is not secure" which makes sense because I do not have any SSL cerificates set.
How can I get rid of the behaviour that I always get redirected to https
Upvotes: 0
Views: 884