set the server port to the environment variable, or use default