No problem thanks for getting back to me.
So I ran npm run https and got a similar error (log below). Anything else I can try?
Many thanks
Tom
npm run https
> websdk-cdn@1.7.2 https C:\Users\Operator\Desktop\sample-app-web\CDN
> concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"
[0] events.js:174
[0] throw er; // Unhandled 'error' event
[0] ^
[0]
[0] Error: listen EACCES: permission denied 0.0.0.0:9999
[0] at Server.setupListenHandle [as _listen2] (net.js:1260:19)
[0] at listenInCluster (net.js:1325:12)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
[0] at startup (internal/bootstrap/node.js:283:19)
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] Emitted 'error' event at:
[0] at emitErrorNT (net.js:1304:8)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] [... lines matching original stack trace ...]
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-cdn@1.7.2 https: `concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the websdk-cdn@1.7.2 https script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Operator\AppData\Roaming\npm-cache\_logs\2020-03-10T17_53_00_671Z-debug.log
PS C:\Users\Operator\Desktop\sample-app-web\CDN> npm run https
> websdk-cdn@1.7.2 https C:\Users\Operator\Desktop\sample-app-web\CDN
> concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"
[0] events.js:174
[0] throw er; // Unhandled 'error' event
[0] ^
[0]
[0] Error: listen EACCES: permission denied 0.0.0.0:9999
[0] at Server.setupListenHandle [as _listen2] (net.js:1260:19)
[0] at listenInCluster (net.js:1325:12)
PS C:\Users\Operator\Desktop\sample-app-web\CDN> npm run https
> websdk-cdn@1.7.2 https C:\Users\Operator\Desktop\sample-app-web\CDN
> concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"
[0] events.js:174
[0] throw er; // Unhandled 'error' event
[0] ^
[0]
[0] Error: listen EACCES: permission denied 0.0.0.0:9999
[0] at Server.setupListenHandle [as _listen2] (net.js:1260:19)
[0] at listenInCluster (net.js:1325:12)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
[0] at startup (internal/bootstrap/node.js:283:19)
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] Emitted 'error' event at:
[0] at emitErrorNT (net.js:1304:8)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] [... lines matching original stack trace ...]
[0] http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-cdn@1.7.2 https: `concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"`
PS C:\Users\Operator\Desktop\sample-app-web\CDN> npm run https
> websdk-cdn@1.7.2 https C:\Users\Operator\Desktop\sample-app-web\CDN
> concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"
[0] events.js:174
[0] throw er; // Unhandled 'error' event
[0] ^
[0]
[0] Error: listen EACCES: permission denied 0.0.0.0:9999
[0] at Server.setupListenHandle [as _listen2] (net.js:1260:19)
[0] at listenInCluster (net.js:1325:12)
[0] at doListen (net.js:1458:7)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
[0] at startup (internal/bootstrap/node.js:283:19)
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] Emitted 'error' event at:
[0] at emitErrorNT (net.js:1304:8)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] [... lines matching original stack trace ...]
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-cdn@1.7.2 https: `concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the websdk-cdn@1.7.2 https script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Operator\AppData\Roaming\npm-cache\_logs\2020-03-10T17_55_43_241Z-debug.log