Forward ports with any host to localhost

and fix related bugs

Fixes #88060
This commit is contained in:
Alex Ross
2020-01-08 17:52:34 +01:00
parent 29759db68b
commit 9c0577cde2
3 changed files with 9 additions and 10 deletions

View File

@@ -183,7 +183,7 @@ export class ExtHostTunnelService extends Disposable implements IExtHostTunnelSe
ip: this.parseIpAddress(address[0]),
port: parseInt(address[1], 16)
};
}).map(port => [port.port, port])
}).map(port => [port.ip + ':' + port.port, port])
).values()
];
}