FastAPI localhost

Koloss42

Dabbler
Joined
Aug 21, 2023
Messages
21
For testing reasons, I would first like to host my FastAPI project locally on my TrueNas Scale computer with this command: "
Code:
cd xy
source mypy/bin/activate
uvicorn api.app.main:app --reload --port 8080

"

But if I then open the local IP address of the computer in the browser of another computer, my API is not accessible.

I am super grateful for the help
 
Last edited:
Top