get the port from env variable