Erik Osinga
09/16/2025, 6:18 PMMarvin
09/16/2025, 6:18 PMMarvin
09/16/2025, 6:24 PMprefect server start --port 4201
- Recommended for isolation (separate data dir so the two servers don’t share the same SQLite DB/state):
- macOS/Linux:
PREFECT_HOME=~/.prefect-4201 prefect server start --port 4201
- Windows PowerShell:
$env:PREFECT_HOME="$env:USERPROFILE\.prefect-4201"; prefect server start --port 4201
Notes:
- If you intentionally want both servers to point at the same backend, avoid duplicate background services by starting the second one without services:
prefect server start --port 4201 --no-services
- You can also set host explicitly if needed:
prefect server start --host 127.0.0.1 --port 4201
Docs for more details:
- Self-hosted (Prefect Server) guide
- Managing settings and profiles