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