# awx cli

**URL:** <https://forum.ansible.com/t/awx-cli/33692>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [August 27, 2020, 10:58pm UTC](https://forum.ansible.com/t/awx-cli/33692 "2020-08-27T22:58:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wmedley](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wmedley](https://forum.ansible.com/u/wmedley)\
**Post date:** [August 27, 2020, 10:58pm UTC](https://forum.ansible.com/t/awx-cli/33692/1 "2020-08-27T22:58:54Z")

</div>

So has anyone had any success in exporting their config with awx cli? I have tried and tried, but keep getting a connection refused message

There was a network error of some kind trying to reach [https://us1rhdevawx01.americantower.com](https://us1rhdevawx01.americantower.com/).  
You might need to specify (or double-check) --conf.host

HTTPSConnectionPool(host=‘[us1rhdevawx01.americantower.com](http://us1rhdevawx01.americantower.com)’, port=443): Max retries exceeded with url: /api/ (Caused by NewConnectionError(‘\<urllib3.connection.HTTPSConnection object at 0x7f97016e7f98\>: Failed to establish a new connection: [Errno 111] Connection refused’,))

Awx tower version is 14.1.0

[root@us1rhdevawx01 installer]# awx --version  
3.7.2

---

<div class="post-metadata">

**Author:** ![john.westcott.iv](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/john.westcott.iv/32/95_2.png) [@john.westcott.iv](https://forum.ansible.com/u/john.westcott.iv)\
**Post date:** [August 31, 2020, 1:09pm UTC](https://forum.ansible.com/t/awx-cli/33692/2 "2020-08-31T13:09:16Z")

</div>

I have been able to use the export utility, are you able to do a wget from the same client and get the API url? [https://us1rhdevawx01.americantower.com:443/api](https://us1rhdevawx01.americantower.com:443/api)

-John
