Fetch from localhost

Hi there,

I’m building a Zoom App that runs inside a Zoom meeting and needs to fetch real-time data (probabilities) from a local .exe running on localhost. Specifically, I’m trying to use:

fetch('http://localhost:5000/probabilities')

Will this work when users install and run my Zoom App on their machines? In other words, can a Zoom App inside the meeting sandbox access a local server (e.g., Flask API running on localhost:5000)?

Thanks!

hi @Steve7 ,
You can not run any code on a localhost url. So, that includes calling a local URL.
If you want to talk to a localhost connection, then you will need to set up something like a JS server and call for commands that way.

e.g. I set up an app where I called a treamdeck app on localhost using a JS server.
hope that makes sense

John

1 Like

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