-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I managed to get a linux machine with a GPU to get the Pose App running.
I need to be able to access the App from the network (the machine is not generally accessible). So I tried to open up the appropriate port (7501) on the machine. It seems to have worked, as I see the browser tab change to "lightning.ai" and the tab going straight to http://<server-ip>:7501/view/Manage Project .
But now I get errors that other ports can't be accessed (localhost:44429 for example).
If I understand this correctly, these are the ports on which the multiple servers required by the Pose App are running. two streamlit servers, one label-studio and one fiftyone. These ports are also currently not fixed and change every time I re-start the app.
Opening up all the ports on the machine is not an option for our IT (too much attack surface).
I am currently thinking of editing the App code and hard-code the $host and $port variables. This is a temporary solution, as it will probably be overwritten or needs to be manually adjusted every time there is a Pose App update.
Is there an easier way of doing so?