nvflare.fuel.utils.network_utils module

get_open_ports(number) list[source]

Gets the number of open ports from the system.

Parameters:

number – number of ports

Returns:

A list of open_ports