set port_cui, port_json