Updates how we assign the port for the server to match the Heroku guide