set http port to environment variable