Pull port from environment.