StaticfindFind an available port starting from the given port
Port number to start checking from
Timeout in milliseconds before giving up (default: 30000)
logger for debug messages
Promise that resolves to the first available port or throws an error if timeout is reached
StaticisCheck if a TCP port is available on the local machine
Port number to check
Promise that resolves to true if port is available, false otherwise
Utility class for port-related operations