check_port_availability

Function check_port_availability 

Source
pub async fn check_port_availability(
    port_option: &PortRange,
    nodes: &Arc<RwLock<Vec<Arc<RwLock<NodeServiceData>>>>>,
) -> Result<()>
Expand description

Make sure the port is not already in use by another node.