Run application on port 80 and 443

Hello,

This is the first time I use Zoom API, I would like to know with which command line to run the application on port 80 or 443?

Thank you in advance for your answers

Hey @epenyblaise,

Thank you for reaching out to the Zoom Developer Forum. Just to clarify, you are using the Web SDK is that correct? I ask because the API is a separate Zoom tool, although it is often used in conjunction with the Web SDK.

Assuming that you are referring to the Web SDK, you will need to use HTTPS with a valid SSL certificate. When configured correctly, this will default to port 443.

I hope that helps! Let me know if you have any questions. :slightly_smiling_face:

Thanks,
Max

Hey @MaxM ,

I use Web SDK, I installed the application through the command line :
git clone https://github.com/zoom/sample-app-web.git --branch master --depth 1
, then I run the application with command line npm run start and I got error :
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! websdk-cdn@1.9.0 start: concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -o index.html"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the websdk-cdn@1.9.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-18T09_42_50_029Z-debug.log

Hey @epenyblaise,

Thank you for reaching out to the Zoom Developer Forum. Please try clearing the NPM cache and reinstalling the dependencies. I found a stack overflow post that goes over this issue:

Let me know if that helps! :slightly_smiling_face:

Thanks,
Max

Hey @MaxM,

I cleaning cahce with that commande line : npm cache clean --force, and then i reinstalling the dependecies with command line npm install -g npm to update! because i was recomanded to update version of npm.

After this i run application with command ligne : npm run start and i still get errors :

websdk-cdn@1.9.0 start
concurrently “http-server -a 0.0.0.0 -p 9999 -c-1 -o index.html”

sh: 1: concurrently: not found
npm ERR! code 127
npm ERR! path /mnt/c/Users/epeny/sample-app-web/CDN
npm ERR! command failed
npm ERR! command sh -c concurrently “http-server -a 0.0.0.0 -p 9999 -c-1 -o index.html”

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-19T13_44_19_571Z-debug.log

Hey @epenyblaise ,

Can you try installing the npm package concurrently ? I believe that will fix the issue:

Thanks,
Tommy

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.