check_port
Check whether ports are free and identify the process holding any in-use port, with name, PID, user, command, and container. Use first when a server reports address already in use or EADDRINUSE.
Instructions
Check whether ports are free. For each port in use, says which process holds it: name, PID, user, command line, who started it, and the container if Docker or Podman publishes it. Use it first when a server fails with "address already in use" or EADDRINUSE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | Yes | the ports to check, e.g. [3000] | |
| proto | No | tcp (default) or udp |