Connect to socket.io node.js command line code example Example: Connect to socket.io node.js command line npx wscat -c ws://localhost:3000/socket.io/\?transport=websocket