You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the following command in VScode terminal does not properly bind to the default IP address of 127.0.0.1. The server errors with "WebSockets request was expected."
I observe if I run Hexo without node inspect, then Hexo will properly bind to both 127.0.0.1 and localhost.
$(which hexo) clean &&$(which hexo) server --debug
Expected behavior
Server should accept both "localhost" and "127.0.0.1" on MacOS. Even with Node Inspector, it should respond correctly to IP and "localhost" as the domain.
The text was updated successfully, but these errors were encountered:
Problem
hexo server does not recognize
127.0.0.1
as the same as "localhost."Environment
MacOS 13.2.1
node: v19.6.1
Hexo:
VScode
launch.json
Debugging with Node
Running the following command in VScode terminal does not properly bind to the default IP address of
127.0.0.1
. The server errors with "WebSockets request was expected."Without Node Inspector
I observe if I run Hexo without node inspect, then Hexo will properly bind to both
127.0.0.1
andlocalhost
.Expected behavior
Server should accept both "localhost" and "127.0.0.1" on MacOS. Even with Node Inspector, it should respond correctly to IP and "localhost" as the domain.
The text was updated successfully, but these errors were encountered: