This is my code:
var server = express(); // Create the HTTP server http .createServer(server) .listen(80, \'10.10.10.10\');
Once t
What your are trying to accomplish is quite non-standard in my opinion. I would suggest server.close(). Close will wait all request to finish and trigger the "close" event. You can bind on that event to listen on the new IP. This is quite weird tho.