dynamically determine the Heroku port