简体   繁体   中英

WAMP server localhost wont work with Chrome

我的WAMP服务器本地主机仅适用于MS Edge,但不适用于chrome。

I had the same problem on Windows 10. Tried all options found on the internet (changing port, host file config, firewall,...), but in my case it was simply caused by Chrome's automatic redirection to http S protocol for localhost adress and Wamp by default does not support https . So i had to remove that automatic redirect to stay on http protocol for localhost.

I made that typing "chrome://net-internals/#hsts" in the adress bar of Chrome, and enter "localhost" in the "Delete domain security policies" section, and clic on "Delete" button. In my case it helped, i hope it will help you too!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM