I am making simple server-client system with using node.js and socket.io. The server code runs on AWS Lightsail instance. And the client code runs on my PC.
server.js