升级到 macOS Catalina 后,我无法让 localhost 在 chrome 上工作。我花了很多时间试图弄清楚为什么我会收到这条消息
localhost normally uses encryption to protect your information. When Google Chrome tried to connect to localhost this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be localhost, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Google Chrome stopped the connection before any data was exchanged.
You cannot visit localhost right now because the …Run Code Online (Sandbox Code Playgroud)