SetPort should set beaconPort