AdmExporter: refactor port creation