MCPcopy Index your code
hub / github.com/Dokploy/dokploy / validatePorts

Function validatePorts

packages/server/src/setup/server-setup.ts:453–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

451`;
452
453const validatePorts = () => `
454 # check if something is running on port 80
455 if ss -tulnp | grep ':80 ' >/dev/null; then
456 echo "Something is already running on port 80" >&2
457 fi
458
459 # check if something is running on port 443
460 if ss -tulnp | grep ':443 ' >/dev/null; then
461 echo "Something is already running on port 443" >&2
462 fi
463`;
464
465const installUtilities = () => `
466

Callers 1

defaultCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected