MCPcopy Create free account
hub / github.com/CodeFox-Repo/codefox / findAvailablePort

Function findAvailablePort

frontend/src/app/api/runProject/route.ts:147–186  ·  view source on GitHub ↗

* Find an available port

(
  minPort: number = 38000,
  maxPort: number = 42000
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runDockerContainerFunction · 0.85

Calls 1

scanPortsFunction · 0.85

Tested by

no test coverage detected