- Run the app
npm install node app.js
- See results in app log:
Server started on port 5000
- Open http://127.0.0.1:5000/
- See results in app log:
Server started on port 5000 A new socket has joined: IqEjjc0dBHYSHqpMAAAB
According to Postman Now Supports Socket.IO you may use Postman as client for the demo
- Install Postman Version 8.10.0+
- In the left-hand sidebar, click New.
- Select WebSocket Request.
- Within the new tab’s header, click the drop-down that says Raw, and select Socket.IO instead.
- Type the address of your Socket.IO server into the URL bar.
- Click Connect.