Hello!My question is if I could bind the hostname and the port to a HTTP server for NodeJS without making it listen. As far as I've seen, in all the examples about how to set up a Node.js HTTP server, the host and the port are indicated in the function "listen" of the net.Server object that Node.js handles. My question would be if I could bind them without making the server listen, so when I want to make it listen, I don't need to indicate them.Thank you!
Submitted May 17, 2017 at 07:52PM by ChangeTheGlobe
No comments:
Post a Comment