    }
                if (name.match(/^recv_/)) {
                    let targetName = name.replace(/recv_/, 'send_');
                    let serverPort = server.ports[targetName];
                    serverPort.subscribe(ifMatches(id, appPort));
                }
            }
        }

        function connectHostPorts(server, app) {
            for (let name in app.ports) {
                let appPort = app.ports[name];

                if (name.match(/^send_/)) {
                    let targetName = n