Choose from our 100,000+ question library and add your own to quickly make powerful custom tests
You are running Node on a remote machine, rem.myex.com. You want to setup a ssh tunnel on your local machine as follows:
Start a ssh tunnel session so that a connection to port 8331 on your local machine can be forwarded to port 8339 on rem.myex.com.
A debugger needs to be attached that would be able to debug. How will you setup this ssh tunnel to allow remote debugging connections?
In Node.js, you are using the .pipe() function to transfer data from one process to another. The write queue is currently busy and so .write() returns a false value.
Which of the following event will be emitted once the data buffer is emptied to resume the incoming data flow in this situation?
The given HTTP module has used createServer() method to create an HTTP server.
var http = require('http');
When will the function passed into the http.createServer() method execute?