Get Free Port
get_free_portFind an available TCP/UDP port within a specified range to avoid binding conflicts when starting local services.
Instructions
返回指定范围内任意一个空闲端口。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | No | ||
| end_port | No | ||
| protocol | No | ||
| start_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |