change how port number is assigned for azure