websockets / wscat

WebSocket cat
MIT License
2.25k stars 223 forks source link

error: connect ECONNREFUSED ::1:9001 #144

Closed ghost closed 1 year ago

ghost commented 1 year ago

when i try wscat -c ws://localhost:9001 it show error: connect ECONNREFUSED ::1:9001 what should i do ??

lpinca commented 1 year ago

It means the server is not accepting connections on ::1:9001. Try to use 127.0.0.1 instead of localhost.