v1.2.2: bugfix use 443 as default remote port

This commit is contained in:
AJ ONeal 2018-09-10 23:39:34 -06:00
parent fa3de139a4
commit a1a16005c1
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ if ('-' === localAddress || '|' === localAddress) {
var opts = { var opts = {
remoteAddr: remote[0] remoteAddr: remote[0]
, remotePort: remote[1] , remotePort: remote[1] || 443
, localAddress: localAddress , localAddress: localAddress
, localPort: localPort , localPort: localPort
, rejectUnauthorized: rejectUnauthorized , rejectUnauthorized: rejectUnauthorized