-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example native client can't connect to localhost:8000 websocket #971
Comments
The issue comes from the fact that node listens on 127.0.0.1:8000 while "localhost" resolves to ::1:8000. However, the TCP connection should normally fail and then try 127.0.0.1:8000 which would succeed. It doesn't happen seemingly because the call to What version of OSX do you use? Is there another program already listening on ::1:8000 by any chance? |
Then it looks like an incorrect behavior of |
seems the same |
@shushenghong That's unexpected. Could you please provide the full log as text rather than a screenshot? |
ok
|
OK, my bad, MacOS actually sets POLLHUP (not necessarily POLLIN) on connection failure (so the same as connection close) instead of POLLERR. It was unexpected and wrongly translated to |
works! thank you @paullouisageneau |
the signal server is started, and the web example can connect to localhost:8000
but the native client can't connect, the verbose print is below
MacBook M1 Pro
The text was updated successfully, but these errors were encountered: