update config.js to listen on localhost and listen on an app port