PS C:\Windows\system32> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2d6bbf39bba3 percona/pmm-server:2 “/opt/entrypoint.sh” 25 seconds ago Up 22 seconds (healthy) 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp pmm-server
:: Have installed the Percona client agent (on a centos 7 running Xtradb cluster 5.7)
[root@pxc01 ~]# yum install pmm2-client
:; When running below command to configure an agent with the pmm server, i get timeout.
[root@pxc01 ~]# pmm-admin config --force --server-insecure-tls --server-url=https://admin:admin@172.17.0.2:443
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://172.17.0.2:443/v1/management/Node/Register”: dial tcp 172.17.0.2:443: i/o timeout.
Thank you for the reply.
pxc01 the ip is 172.42.42.101
So are you suggesting to use
pmm-admin config --force --server-insecure-tls --server-url=https://admin:admin@172.17.0.2:443 --client-address 172.42.42.101
If it has the default value then your PXC node (172.42.42.101) is out of a network range.
Also please notice that it’s a real IP address. The private network 172.x.x.x has the largest CIDR block 172.16.0.0/12