def cfg port