How to monitor mongodb using pmm running on external host

Duplicate of Pmm-client cannot connect to pmm3.0