I am using docker compose to pull and configure the puppet environment that includes a PuppetDB for which i have a docker-compose.yml file.
While running the Puppet container I get the following error:
ERROR [puppetserver] Puppet Failed to execute '/pdb/cmd/v1?checksum=eeb40197db6a4ac3d8bce09778388cf7a812a621&version=5&certname=puppetdb.local&command=replace_facts' on at least 1 of the following 'server_urls': https://puppetdb:8081
ERROR [c.p.h.c.i.PersistentSyncHttpClient] Error executing http request
java.net.ConnectException: Connection refused
How do I resolve this? Kindly help.