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 = {
|
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
|
||||||
|
|
Loading…
Reference in New Issue