v1.2.2: bugfix use 443 as default remote port
This commit is contained in:
parent
fa3de139a4
commit
a1a16005c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue