From a1a16005c1de349e4df542897449bee4c851ac0e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 10 Sep 2018 23:39:34 -0600 Subject: [PATCH] v1.2.2: bugfix use 443 as default remote port --- bin/sclient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sclient.js b/bin/sclient.js index 5934c9f..c98a803 100755 --- a/bin/sclient.js +++ b/bin/sclient.js @@ -85,7 +85,7 @@ if ('-' === localAddress || '|' === localAddress) { var opts = { remoteAddr: remote[0] -, remotePort: remote[1] +, remotePort: remote[1] || 443 , localAddress: localAddress , localPort: localPort , rejectUnauthorized: rejectUnauthorized