# Failed to register pmm-agent on PMM Server: .

**URL:** <https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server/7978>\
**Category:** PMM 2.x\
**Created:** [August 28, 2020, 1:34pm UTC](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server/7978 "2020-08-28T13:34:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yrmenezes](https://avatars.discourse-cdn.com/v4/letter/y/dfb087/32.png) [@yrmenezes](https://forums.percona.com/u/yrmenezes)\
**Post date:** [August 28, 2020, 1:34pm UTC](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server/7978/1 "2020-08-28T13:34:55Z")

</div>

[root@XXXXX~]# **pmm-agent --version** ProjectName: pmm-agentVersion: 2.9.1PMMVersion: 2.9.1Timestamp: 2020-08-04 11:08:46 (UTC)FullCommit: f87359b1408887d014f88842d98c3bc7e6fe7d02[root@XXXXX&nbsp;~]# **pmm-admin config --server-insecure-tls 10.32.253.180 --server-url=[https://admin:admin@10.32.253.180:443](https://admin:admin@10.32.253.180:443)**Checking local pmm-agent status…pmm-agent is running.Registering pmm-agent on PMM Server…_ **Failed to register pmm-agent on PMM Server: .** _[root@XXXXX~]# **docker ps** CONTAINER ID&nbsp; &nbsp; &nbsp; &nbsp; IMAGE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COMMAND&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CREATED&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;STATUS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PORTS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NAMESf2c13d67c702&nbsp; &nbsp; &nbsp; &nbsp; percona/pmm-server:latest&nbsp; &nbsp;“/opt/entrypoint.sh”&nbsp; &nbsp;6 minutes ago&nbsp; &nbsp; &nbsp; &nbsp;Up 6 minutes&nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:80-\>80/tcp, 0.0.0.0:443-\>443/tcp&nbsp; &nbsp;pmm-server[root@XXXXX~]# netstat -na |grep 443tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 127.0.0.1:64438&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;127.0.0.1:34856&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ESTABLISHEDtcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 127.0.0.1:34856&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;127.0.0.1:64438&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ESTABLISHEDtcp6&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0 :::443&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :::\*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTENunix&nbsp; 3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;CONNECTED&nbsp; &nbsp; &nbsp;10474436 /run/systemd/journal/stdout  
  
The graphana dashboard is live, but I can’t connect the percona cluster

---

<div class="post-metadata">

**Author:** ![steve.hoffman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/steve.hoffman/32/66_2.png) [@steve.hoffman](https://forums.percona.com/u/steve.hoffman)\
**Post date:** [August 28, 2020, 1:53pm UTC](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server/7978/2 "2020-08-28T13:53:10Z")

</div>

FIrst thing I’d look at would be iptables getting in the way on your PMM server…I have a centos server that when I use port mapping (vs host networking) to the docker container I have to add an explicit iptables rule to allow traffic from the outside world to the docker0 adapter.&nbsp; And mine also shows the port as open in listen.&nbsp;&nbsp;  
Here’s what I run&nbsp;&nbsp;' **iptables** -I INPUT 10 -i docker0 -j ACCEPT" which the 10 just puts the rule before the last reject rule (10th line).&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![yrmenezes](https://avatars.discourse-cdn.com/v4/letter/y/dfb087/32.png) [@yrmenezes](https://forums.percona.com/u/yrmenezes)\
**Post date:** [August 30, 2020, 7:06am UTC](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server/7978/3 "2020-08-30T07:06:55Z")

</div>

[root@XXXXXdata\_apps]# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 7.8 (Maipo) **Firewall is not active.**  
**Port 443 is active**  
[root@XXXXXXX data\_apps]# netstat -na |grep 443 **tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:443&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:\*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN** tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 127.0.0.1:64438&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;127.0.0.1:34856&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ESTABLISHEDtcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 127.0.0.1:34856&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;127.0.0.1:64438&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ESTABLISHED  
  
[root@XXXXXXX~]# rpm -qa |grep pmm2-client-2.9.1-6.el7.x86\_64pmm2-client-2.9.1-6.el7.x86\_64  
  
[root@scxxp0816cld ~]# ip addr1: lo: \<LOOPBACK,UP,LOWER\_UP\> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000&nbsp; &nbsp; link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&nbsp; &nbsp; inet 127.0.0.1/8 scope host lo&nbsp; &nbsp; &nbsp; &nbsp;valid\_lft forever preferred\_lft forever&nbsp; &nbsp; inet6 ::1/128 scope host&nbsp; &nbsp; &nbsp; &nbsp;valid\_lft forever preferred\_lft forever2: eth0: \<BROADCAST,MULTICAST,UP,LOWER\_UP\> mtu 1500 qdisc mq state UP group default qlen 1000&nbsp; &nbsp; link/ether 00:50:56:90:06:10 brd ff:ff:ff:ff:ff:ff&nbsp; &nbsp; inet&nbsp; **10.32.253.180** /25 brd 10.32.253.255 scope global eth0&nbsp; &nbsp; &nbsp; &nbsp;valid\_lft forever preferred\_lft forever&nbsp; &nbsp; inet6 fe80::250:56ff:fe90:610/64 scope link&nbsp; &nbsp; &nbsp; &nbsp;valid\_lft forever preferred\_lft forever3: docker0: \<NO-CARRIER,BROADCAST,MULTICAST,UP\> mtu 1500 qdisc noqueue state DOWN group default&nbsp; &nbsp; link/ether 02:42:7a:51:58:bc brd ff:ff:ff:ff:ff:ff&nbsp; &nbsp; inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0&nbsp; &nbsp; &nbsp; &nbsp;valid\_lft forever preferred\_lft forever&nbsp; &nbsp; inet6 fe80::42:7aff:fe51:58bc/64 scope link&nbsp; &nbsp; &nbsp; &nbsp;valid\_lft forever preferred\_lft forever  
**10.32.253.180 - docker running and database percona (Master)**
