From ade9df70db93e656a1eb6199cb4e572ec7d1891d Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Thu, 14 Feb 2019 02:12:36 +0200 Subject: [PATCH] Switch port to 443 --- blynk-node.js | 2 +- examples/nodejs/client-ssl-local.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blynk-node.js b/blynk-node.js index ace1964..06f1809 100644 --- a/blynk-node.js +++ b/blynk-node.js @@ -132,7 +132,7 @@ exports.SslClient = function(options) { var options = options || {}; var certs_path = options.certs_path || default_certs_path; self.addr = options.addr || "blynk-cloud.com"; - self.port = options.port || 8441; + self.port = options.port || 443; // These are necessary only if using the client certificate authentication self.key = options.key || null; self.cert = options.cert || null; diff --git a/examples/nodejs/client-ssl-local.js b/examples/nodejs/client-ssl-local.js index 201c75f..4812ec7 100755 --- a/examples/nodejs/client-ssl-local.js +++ b/examples/nodejs/client-ssl-local.js @@ -5,7 +5,7 @@ var Blynk = require('blynk-library'); var AUTH = 'YOUR_AUTH_TOKEN'; var blynk = new Blynk.Blynk(AUTH, - options= { addr:"127.0.0.1", port:8441 } + options= { addr:"127.0.0.1", port:9443 } ); var v1 = new blynk.VirtualPin(1);