Use env variable when present for port number.