Open joyrexus opened 9 years ago
If host and/or port args are unspecified when running [node server.js], use os.networkInterfaces and get-port to programmatically find the IP address of the local machine and an available port at runtime.
node server.js
os.networkInterfaces
get-port
If host and/or port args are unspecified when running [
node server.js
], useos.networkInterfaces
andget-port
to programmatically find the IP address of the local machine and an available port at runtime.