2

Developing on macOS 10.15.4 and chrome 81.
If you access https://localhost:9080 and then http://localhost:8080 with two applications, http://localhost:8080 and https://localhost:9080 running, Redirect to https://localhost:8080. Even if I delete localhost at chrome://net-internals/#hsts and also delete cache, I get the same problem when I access https://localhost:9080.
I am looking for a radical solution to this.

ymmiyabe
  • 21
  • 1
  • Does this answer your question? [Google Chrome redirecting localhost to https](https://stackoverflow.com/questions/25277457/google-chrome-redirecting-localhost-to-https) – kutacoder Apr 17 '20 at 11:51

1 Answers1

0

In other browsers it redirects as well. There are many working around that settings change in time, depends on browsers & other tools. The easiest is just to use IP

127.0.01

instead of 'localhost'. In your case:

127.0.0.1:8080
Katarzyna
  • 1,642
  • 2
  • 11
  • 14