A stopped service app is parked and its ports are free for others
This page is for app authors. A service declares TCP ports in forge.json (app.ports). While it runs, its production holds them; no other app's deploy may declare one.
What happens
- Stop. Stopping the service parks it. Its ports are released at once, so another app may deploy with them.
- Where you see it. The app page shows, under "Deploy and log", and the terminal's Deploys screen shows under the production heading:
parked: port 25565 released for other apps; a redeploy takes it back, or says who holds it. - Redeploy. A redeploy takes the ports back. If another app now holds one, the deploy fails with
forge.json: port 25565 is already held by <app>; <yours> cannot declare it, and your app stays parked. Stop that app, or changeapp.ports, then deploy again. - Clears. The note goes when a deploy lands, or when the environment is removed.
Only services running in this forge hold ports, so the answer depends on what is up. Two deploys started in the same instant can both pass; the one that cannot bind says so. A parked mark is not kept across a forge restart.