Retrieve web server port from environment variable.