changes server ip for socket.io.