macos - Catalina 上的本地主机 chrome

标签 macos google-chrome macos-catalina

升级到 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 website sent scrambled credentials that Google Chrome cannot process. Network errors and attacks are usually temporary, so this page will probably work later.

(我希望我已经截屏了)

最佳答案

我不知道这是否是“最佳”解决方案,但它让我能够再次编码,所以我想我会分享。我被严重卡住了,找不到任何答案,看到有人提到了另一个问题的解决方案。转到 chrome://flags/#allow-insecure-localhost 并更改为启用。

希望这对其他人有帮助。我知道这不是一个真正的问题,但没有真正的方法来分享这个。我想我可以使用 twitter 和 reddit。

关于macos - Catalina 上的本地主机 chrome,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58318233/

相关文章:

javascript - 如何告诉 chrome.app.window 在 Windows 下的特定屏幕上打开?

c++ - 在新的 OSX 上编译旧的 Carbon 应用程序

macos - X11(xquartz)窗口堆叠

javascript - 禁用 chrome 中的 "open session"弹出窗口

html - 谷歌浏览器滚动溢出错误

r - 升级到 Mac OS Catalina 后可能无法安装各种 R 软件包

swift - 代码 : Interface Builder using wrong destination to render IBDesignable

objective-c - cocoa 和 Objective C 保存、编辑和加载文件

macos - -bash : emacs: command not found (after updating mac to CATALINA)

Objective-C 文件在 macOS Catalina 上编译缓慢