Ports
Use Ports to inspect the network ports allocated to Callaba resources and release an allocation that is no longer in use.
Choose this whenYou need to inspect or safely release a port allocation while provisioning or resolving a listener conflict.
Use another module whenConfigure the listener in its SRT, RTMP, or route module; Ports only inspects and releases allocations.
/api/ports/getAllBefore you start
All methods require a valid x-access-token. Confirm that no active media process depends on a port before releasing it.
What you can do
getAlllists allocated ports with filtering and pagination.getCountreturns the number of matching allocations.releasePortreleases an eligible allocation.
Example workflow
- List allocations and filter by the port or owning resource.
- Check whether the related SRT, RTMP, route, or player process is active.
- Stop and remove the obsolete resource if necessary.
- Release the port and confirm it no longer appears in the inventory.
Common use cases
- Resolve a failed SRT listener creation caused by an occupied port.
- Audit which media ports must be allowed through a firewall.
- Recover stale allocations after an event environment is dismantled.
Limits and troubleshooting
Releasing a port used by a running process can interrupt media. A free application allocation also needs to be free at the operating-system and network level. Do not treat the inventory as a substitute for firewall or socket checks.
Next steps
Return to the affected SRT server, RTMP server, or route and retry its create or update operation.
Audit allocated ports before releasing one
List the port inventory, confirm that no active module depends on the target, and release only the reviewed allocation.
- List allocationsFind the owning module and current allocation before cleanup.
POST /api/ports/getAll - Release the reviewed portRelease only after dependent media processes have stopped.
POST /api/ports/releasePort
Releasing an in-use port can break ingest or delivery. Stop and detach the owning resource first.
Use this method when the team needs a current inventory of listening ports on the instance. It is most valuable before launching a new module or when troubleshooting a port collision that blocks the launch.
The response is operationally useful because it ties the port and transport to the module and entity that currently owns it.
Optional page size for the port inventory query.
Optional offset for paginated listing.
Optional sort descriptor. The dashboard store defaults to { created: 1 }.
The backend returns a list of currently visible listeners with the port, transport, owning entity, and owning module.