Hi, you don’t need to install both server and client components on the same host. PMM server should be installed on a separate host, and then you install PMM client on any hosts you want to monitor, then point them to PMM server.
Your issue is that you are trying to use an insecure port for sending metrics. Metrics can only be sent on a secure connection even if using an untrusted certificate, which is default.
Using port 80 (or 8080 as you mapped in your docker setup) is allowed for the UI for browser access although we do not recommend it.
Instead you will need to redo the docker run command and use port 443 (so you may want 8443:443 if 443 is already used on the webserver).
Ivan is right though. Best practice is to have a separate PMM server from all the things you are monitoring to ensure maximum resources for your app/db servers.