Fixed the start port
This commit is contained in:
@@ -305,7 +305,7 @@ class HttpTunnelClient implements Client {
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if (address) {
|
||||
if (typeof address !== "number" && address && address.includes(":")) {
|
||||
const [host, portStr] = address.split(":");
|
||||
if (host) {
|
||||
options.host = host;
|
||||
@@ -321,6 +321,7 @@ class HttpTunnelClient implements Client {
|
||||
}
|
||||
} else {
|
||||
options.port = port;
|
||||
console.log(`default port: ${port} will be forwared`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user