Fixed socket location in nodeJS code