dhbaird / easywsclient

A short and sweet WebSocket client for C++
MIT License
749 stars 204 forks source link

error getaddrinfo: E on connecting #69

Open developernew123 opened 6 years ago

developernew123 commented 6 years ago

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:

Bananik007 commented 3 years ago

same issue

janisblaus commented 2 years ago

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