rcc-uchicago / submit

Simple web service for submitting file uploads and associated metadata.
0 stars 4 forks source link

Find host/port defaults at runtime #8

Open joyrexus opened 9 years ago

joyrexus commented 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.