added command line parameter --ip for server.js