I am trying to use python client to connect
>>> from st2client.client import Client >>> from st2client import models >>> client = Client(base_url='http://10.29.95.102') >>> rules = client.rules.get_all()
but after last command getting error below ?
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.29.95.102', port=9101): Max retries exceeded with url: /v1/rules (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f34b197a4d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
On server I can see this is reset
IP 10.29.95.102.9101 > 10.199.107.14.51032: Flags [R.]