connection with node server

trying to create socket.io connection