parent
83993fb92c
commit
f9d6df8ea1
1 changed files with 3 additions and 0 deletions
|
@ -411,6 +411,9 @@ class LinuxAutomaticPortForwarding extends Disposable {
|
|||
if (mapHasAddressLocalhostOrAllInterfaces(this.remoteExplorerService.tunnelModel.detected, value.host, value.port)) {
|
||||
return undefined;
|
||||
}
|
||||
if (mapHasAddressLocalhostOrAllInterfaces(this.remoteExplorerService.tunnelModel.forwarded, value.host, value.port)) {
|
||||
return undefined;
|
||||
}
|
||||
const forwarded = await this.remoteExplorerService.forward(value);
|
||||
if (forwarded) {
|
||||
this.autoForwarded.add(address);
|
||||
|
|
Loading…
Reference in a new issue