`port_no` may be unused.