puppetdb query- curl connection refused
I am trying to query puppetdb using curl to show a report. Even a basic query is getting failed:
[root@10-10-10-10]# curl -G https://10-10-10-10:8080/pdb/query/v4... curl: (7) Failed connect to 10-10-10-10:8080; Connection refused [root@10-10-10-10]#
I have checked puppetdb services and logs and everything seems fine. Should this cmd work to make exported resource collection?
I am running PE 3.8.1. Please help to make this work.