Update server.js

Change port and address detect