[Vuejs]-Connecting Socket.io using VUE or vue-socket.io

0๐Ÿ‘

โœ…

A Socket.IO client requires a Socket.IO server to communicate. The echo.websocket.org is a plain WebSocket server and cannot be connected to using a Socket.IO client.

If you want to connect to echo.websocket.org you are looking for the WebSocket API. Perhaps you are only trying to use the echo server for testing, and would like to use Socket.IO. In that case I recommend setting up your own Socket.IO server.

Read more: What Socket.IO is not

Leave a comment