Updated to get the port from process.env in production