After installing pmm client on database server, I am trying to connect it with pmm server but I am getting errors.
COMMAND WHICH i AM USING
pmm-admin config --server-insecure-tls --server-url=https://admin:PostgreSQL_123@IP_ADDRESS:port####
Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: Post https://IP_ADDRESS:port####/v1/management/Node/Register: http: server gave HTTP response to HTTPS client.
PS- PMM server and DB server both can ping to each other. both are RHEL 7.