r10k deploy connection refused error [closed]
I am all out of options. r10k deploy environment works fine. r10k deploy environment dev works fine. But r10k deploy environment dev --puppetfile fails for all the modules from forge. I tried adding proxy settings in r10k.yaml but that didn't fix it.
Please provide pointers/examples as to how to fix it.
myServer:/etc/puppetlabs/code/environments/dev/modules/testr10k #sudo r10k deploy environment dev --puppetfile ERROR -> Unable to connect to https://forgeapi.puppetlabs.com: Connection refused - connect(2) for "forgeapi.puppetlabs.com" port 443
forge "http://forge.puppet.com" #Puppetlabs forge modules mod 'puppetlabs/stdlib' mod 'puppetlabs/apt' mod 'puppetlabs/accounts'