set port as an environment variable