Skip to main content

opendevin.runtime.utils.system

find_available_tcp_port

def find_available_tcp_port() -> int

Find an available TCP port, return -1 if none available.