From bf874d661a66a34f4ddbc7546f0245df22348393 Mon Sep 17 00:00:00 2001 From: reluc Date: Fri, 8 Sep 2023 11:23:40 +0200 Subject: [PATCH] fix(examples/quickstart/smart-clock): change default port --- examples/quickstart/smart-clock.js | 2 +- packages/examples/src/quickstart/smart-clock.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/quickstart/smart-clock.js b/examples/quickstart/smart-clock.js index 8c71c0f9c..b235c4356 100644 --- a/examples/quickstart/smart-clock.js +++ b/examples/quickstart/smart-clock.js @@ -18,7 +18,7 @@ const core_1 = require("@node-wot/core"); const binding_coap_1 = require("@node-wot/binding-coap"); // create Servient add CoAP binding with port configuration const servient = new core_1.Servient(); -servient.addServer(new binding_coap_1.CoapServer(5685)); +servient.addServer(new binding_coap_1.CoapServer(5686)); core_1.Helpers.setStaticAddress("plugfest.thingweb.io"); // comment this out if you are testing locally let minuteCounter = 0; let hourCounter = 0; diff --git a/packages/examples/src/quickstart/smart-clock.ts b/packages/examples/src/quickstart/smart-clock.ts index 0444ecb50..7be9d9fa5 100644 --- a/packages/examples/src/quickstart/smart-clock.ts +++ b/packages/examples/src/quickstart/smart-clock.ts @@ -20,7 +20,7 @@ import { CoapServer } from "@node-wot/binding-coap"; // create Servient add CoAP binding with port configuration const servient = new Servient(); -servient.addServer(new CoapServer(5685)); +servient.addServer(new CoapServer(5686)); Helpers.setStaticAddress("plugfest.thingweb.io"); // comment this out if you are testing locally