Closed halturin closed 10 months ago
It is know "happy eyeballs" deficiency in Websocat 1.0: https://github.com/vi/websocat/issues/23#issuecomment-1001550993
You can workaround with wc-c:tcp:
if proper hostname handling is really needed (or just use specific IP address if it is just localhost).
Thanks for clarifying. It would be great to be mentioned in the README file.
I got a weird issue. Tried to connect using
websocat ws://localhost:9090/ws
and got this error:if I change the hostname to the IP address it works well.
my
/etc/hosts
haslocalhost
recordstelnet
command works well with thelocalhost
hostnameI guess it tried the IPv6 address, got
connection refused
, and exited.