how to run socket.io server

I installed: Node, npm socket.io and npm websockets on ubuntu. Javascrip code is below. And its running on 139.59.215.170 but unity wont get any data :( Do you have any idea what could be wrong ? Code is fine, i tested it on my computer.