GRC's SimpleXMLRPCServer uses register_instance() which doesn't expose system.listMethods. Wrap the connectivity check in a try/except so a Fault is treated as "connected" while ConnectionRefusedError still propagates.
GRC's SimpleXMLRPCServer uses register_instance() which doesn't expose system.listMethods. Wrap the connectivity check in a try/except so a Fault is treated as "connected" while ConnectionRefusedError still propagates.