Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

http://localhost:8080 redirects to https://localhost:8080 in catalina and chrome81

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.

like image 541
ymmiyabe Avatar asked Nov 18 '25 09:11

ymmiyabe


1 Answers

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 the IP address

127.0.0.1

instead of 'localhost'. In your case:

127.0.0.1:8080
like image 103
Katarzyna Avatar answered Nov 21 '25 10:11

Katarzyna



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!