pmm-admin works in 1.17.4 version but not in 2.10.0 connecting to PMM Server in Docker

The following is a snippet of pmm-admin on version 2.10.0.

pmm-admin config --server-insecure-tls --server-url=https://XXXXX:ZZZZZZ@PMMSERVERHOST:443

Checking local pmm-agent status…

pmm-agent is running.

Registering pmm-agent on PMM Server…

Failed to register pmm-agent on PMM Server: .

Hi

Could you add flag --debug to the command?

It looks like a firewall issue.

Could you perform a simple command on your client side?

curl -v --insecure https://PMMSERVERHOST/ping