set default port at client.js