Testing connection to node.js server