is_localhost_port_listening
Documentation for eth_defi.utils.is_localhost_port_listening function.
- is_localhost_port_listening(port, host='localhost')[source]
Check if a localhost is running a server already.
See https://www.adamsmith.haus/python/answers/how-to-check-if-a-network-port-is-open-in-python