Skip to content

Commit

Permalink
Switch port to 443
Browse files Browse the repository at this point in the history
  • Loading branch information
vshymanskyy committed Feb 14, 2019
1 parent 8e737f6 commit ade9df7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blynk-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/nodejs/client-ssl-local.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ade9df7

Please sign in to comment.