pb_port is defined in the api namespace