code: function onListening() {
      var addr = server.address();
      var bind = typeof addr === 'string'
          ? 'pipe ' + addr
          : 'port ' + addr.port;
      console.error('Listening on ' + bind);
  }
docs: Event listener for HTTP server "listening" event.