set port for bind address
remove noisy global variable