# Installing collections from on-premise Galaxy NG - Development

**URL:** <https://forum.ansible.com/t/installing-collections-from-on-premise-galaxy-ng-development/40826>\
**Category:** Get Help\
**Tags:** gcp, galaxy-ng\
**Created:** [March 6, 2025, 3:24pm UTC](https://forum.ansible.com/t/installing-collections-from-on-premise-galaxy-ng-development/40826 "2025-03-06T15:24:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marketa\_Muzikova](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/marketa_muzikova/32/3120_2.png) [@Marketa\_Muzikova](https://forum.ansible.com/u/Marketa_Muzikova)\
**Post date:** [March 6, 2025, 3:24pm UTC](https://forum.ansible.com/t/installing-collections-from-on-premise-galaxy-ng-development/40826/1 "2025-03-06T15:24:52Z")

</div>

Hi,  
tl;dr - What variable to change in a config file for Galaxy NG to be able to download collections?  
Long read:  
I installed this: [Development - Galaxy NG](https://ansible.readthedocs.io/projects/galaxy-ng/en/latest/community/devstack/) which is now running on my Debian GCP machine.  
On my machine I have the ansible.cfg setup correctly as `ansible-galaxy collection publish` is working. The thing is that `ansible-galaxy collection install` is not.  
It looks for the collection in the right place but then when it comes to the actual download galaxy sends that it resides on localhost. Here is how it looks like:

```auto
Process install dependency map
Initial connection to galaxy_server: http://<gcp-server>:55001/api/galaxy/
Found API version 'v3, pulp-v3' with Galaxy server published (http://<gcp-server>:55001/api/galaxy/)
Opened /Users/<uid>/.ansible/galaxy_token
Calling Galaxy at http://<gcp-server>:55001/api/galaxy/v3/collections/broadcom/endevor/
Calling Galaxy at http://<gcp-server>:55001/api/galaxy/v3/collections/broadcom/zowe_core_3/
Starting collection install process
Fetching a collection tarball for 'broadcom.endevor:8.0.3' from Ansible Galaxy
Downloading http://localhost:55001/api/galaxy/v3/plugin/ansible/content/published/collections/artifacts/broadcom-endevor-8.0.3.tar.gz to /Users/...
ERROR! Failed to download collection tar from 'published' due to the following unforeseen error: <urlopen error [Errno 61] Connection refused>. <urlopen error [Errno 61] Connection refused>

```

I know that this deployment of Galaxy (the one that is described in the link above) is just for development purposes but nothing else worked (at least not last week).

I suspect that some variable in the galaxy\_ng directory has to be set to `<gcp-server>` and not localhost, so that is what I want to ask - Does anybody know what variable should I change in what config file? (I am running the oci/standalone)
