easywsclient icon indicating copy to clipboard operation
easywsclient copied to clipboard

error getaddrinfo: E on connecting

Open developernew123 opened this issue 6 years ago • 2 comments

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:

developernew123 avatar Dec 23 '17 01:12 developernew123

same issue

Bananik007 avatar Aug 31 '21 16:08 Bananik007

@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!

janisblaus avatar Dec 04 '21 16:12 janisblaus