add correct environment var for port