FastAPI example Start server Start $ uvicorn main:app Automtic Reload $ uvicorn main:app --reload Change port $ uvicorn main:app --port 3000 You can change 3000