reason: socket hang up code example Example: socket hang up Check your server.js first. May be a typo error.