Node.js - Socket.io repeats the 'io.on('connection') over and over
问题 So, I am still in the experimental phase of Socket.io, but I just can't figure out why my code is doing this. So, I have the code below and when I console.log the code, it repeats the the connection even when there is only one connection. Do you know a solution? io.on('connnection', (socket) => { console.log("A new user is connected.") }) Client side: <script src="/socket.io/socket.io.js"></script> <script> var socket = io() </script> Node.js Console: A new user is connected. A new user is