get_open_ports
List all listening TCP and UDP ports with the owning process to diagnose port conflicts and verify running services.
Instructions
List all listening TCP/UDP ports with the process that owns each one.
Use this to check what services are running and which ports are in use. Helpful for debugging "port already in use" errors or checking if a server is actually listening. For general network interface info, use get_network_info instead.
This is a read-only operation with no side effects.
Returns a Markdown table with columns: Proto, Local Address, Port, PID, Process. Only shows LISTEN (TCP) and bound (UDP) sockets. Connections requiring elevated privileges show "N/A" for PID and process name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||