easywsclient
easywsclient copied to clipboard
error getaddrinfo: E on connecting
I get this error on connecting to firefox websocket remote debugger i launch firefox with :
firefox -start-debugger-server ws:6047
the I tried to connect to ws://localhost:6047 using wscat from npm and it connected successfully but when trying to connect using easywsclient with this code :
auto ws = WebSocket::from_url_no_mask("ws://localhost:6047");
I got this in the terminal :
easywsclient: connecting: host=localhost port=6047 path=/
getaddrinfo: E
ERROR: Got bad status connecting to ws://localhost:6047:
same issue
@developernew123 @Bananik007 ~guys have you managed to solve this?~
If anyone needs it, here is the solution: https://github.com/dhbaird/easywsclient/issues/13#issuecomment-106620246
Cheers!