# Connection refused using PMM for postgresql

**URL:** <https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124>\
**Category:** PostgreSQL\
**Created:** [August 14, 2025, 5:09pm UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124 "2025-08-14T17:09:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sravanvadapalli](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sravanvadapalli](https://forums.percona.com/u/sravanvadapalli)\
**Post date:** [August 14, 2025, 5:09pm UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/1 "2025-08-14T17:09:35Z")

</div>

Hi

I am new to postgresql and percona in general. At work we recently configured postgres databases and to monitor I am looking at PMM solution.

I tried installing using the manual method on one of our servers. Our network is heavily blocked and dont have access to public network. That is the reason why i did the manual method.

Linux env is rhel 8.9

# **Deploying Percona Monitoring and Management 2 Without Access to the Internet**

I followed above guide to install

docker run --detach --restart always --publish 80:80 --publish 443:443 --volumes-from pmm-data --name pmm-server percona/pmm-server:3.3.1  
088fd5aab0759521c54d62b2bf026fc9d9262f93d9bab677cefba36bc30a108f

docker ps  
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES  
088fd5aab075 percona/pmm-server:3.3.1 “/opt/entrypoint.sh” 7 seconds ago Up 6 seconds (healthy) 0.0.0.0:80-\>80/tcp, 8080/tcp, 0.0.0.0:443-\>443/tcp, 8443/tcp pmm-server

however when i try to access using browser.. it says connection refused

even telnet returns same. Any way to troubleshoot this?

telnet haeitoemap01v 80  
Trying 10.120.11.130…  
telnet: connect to address 10.120.11.130: Connection refused

Same with 443 as well. Thank you

---

<div class="post-metadata">

**Author:** ![Michael\_Okoko](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_okoko/32/5688_2.png) [@Michael\_Okoko](https://forums.percona.com/u/Michael_Okoko)\
**Post date:** [August 15, 2025, 6:58am UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/2 "2025-08-15T06:58:47Z")

</div>

Hi, we changed the container ports for PMM in v3, so you should be binding to port 8080 and 8443.

docker run --detach --restart always --publish 80:8080 --publish 443:8443 --volumes-from pmm-data --name pmm-server percona/pmm-server:3.3.1

---

<div class="post-metadata">

**Author:** ![sravanvadapalli](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sravanvadapalli](https://forums.percona.com/u/sravanvadapalli)\
**Post date:** [August 15, 2025, 5:57pm UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/3 "2025-08-15T17:57:50Z")

</div>

Hi @Michael_Okoko

Thank you so much for your response. It is working as expected now.

I need one more favor.. Can you let me know if there is any guide on how to do pmm client agent install on db server offline? Our servers dont have internet access and I need to install manually. Thank you

---

<div class="post-metadata">

**Author:** ![Yunus](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/yunus/32/6430_2.png) [@Yunus](https://forums.percona.com/u/Yunus)\
**Post date:** [August 16, 2025, 3:25am UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/4 "2025-08-16T03:25:08Z")

</div>

Hello @sravanvadapalli

You can download the package from our downloads page for PMM client desired version.

> **[Software Downloads](https://www.percona.com/downloads)**
>
> Download free, open source software for MySQL including Percona Server, Percona XtraBackup, Percona Toolkit, Percona XtraDB Cluster, and more. Download now!

Download it on the host where you have internet access and then you can transfer and install the package.

---

<div class="post-metadata">

**Author:** ![sravanvadapalli](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sravanvadapalli](https://forums.percona.com/u/sravanvadapalli)\
**Post date:** [August 16, 2025, 3:31am UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/5 "2025-08-16T03:31:42Z")

</div>

Hi @Yunus

Thanks for your reply.. I already got the rpm downloaded and transferred, just looking for postgres configuration and agent install instructions. thank you

---

<div class="post-metadata">

**Author:** ![Yunus](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/yunus/32/6430_2.png) [@Yunus](https://forums.percona.com/u/Yunus)\
**Post date:** [August 16, 2025, 4:13am UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/6 "2025-08-16T04:13:15Z")

</div>

> [@sravanvadapalli](#):
>
> Thanks for your reply.. I already got the rpm downloaded and transferred, just looking for postgres configuration and agent install instructions. thank you

Nice to hear that you have already downloaded the agent.

You can follow the instructions here to configure and install the agent,

> **[Percona Monitoring and Management - PostgreSQL](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/connect-database/postgresql.html)**
>
> Connect your PostgreSQL databases—whether self-hosted or running in the cloud—to Percona Monitoring and Management (PMM) for comprehensive performance monitoring and analysis.

---

<div class="post-metadata">

**Author:** ![sravanvadapalli](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sravanvadapalli](https://forums.percona.com/u/sravanvadapalli)\
**Post date:** [August 16, 2025, 4:33pm UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/7 "2025-08-16T16:33:19Z")

</div>

Thank you so much.. agent is working now

---

<div class="post-metadata">

**Author:** ![sravanvadapalli](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sravanvadapalli](https://forums.percona.com/u/sravanvadapalli)\
**Post date:** [August 16, 2025, 5:00pm UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/8 "2025-08-16T17:00:47Z")

</div>

What is the recommended backup procedure for the pmm server install? Just incase if server crashes how can we make sure we can restore the pmm-server without redoing all over.

---

<div class="post-metadata">

**Author:** ![Tibor\_Korocz\_Percona](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/tibor_korocz_percona/32/17251_2.png) [@Tibor\_Korocz\_Percona](https://forums.percona.com/u/Tibor_Korocz_Percona)\
**Post date:** [August 18, 2025, 8:00am UTC](https://forums.percona.com/t/connection-refused-using-pmm-for-postgresql/39124/9 "2025-08-18T08:00:43Z")

</div>

Hi,

You can find the documentation here: [Back up PMM Server Docker container - Percona Monitoring and Management](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-server/deployment-options/docker/backup_container.html)
