# pm2 client tries 443 instead of 80

**URL:** <https://forums.percona.com/t/pm2-client-tries-443-instead-of-80/7327>\
**Category:** PMM 2.x\
**Created:** [December 3, 2019, 5:19am UTC](https://forums.percona.com/t/pm2-client-tries-443-instead-of-80/7327 "2019-12-03T05:19:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![catalin08](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@catalin08](https://forums.percona.com/u/catalin08)\
**Post date:** [December 3, 2019, 5:19am UTC](https://forums.percona.com/t/pm2-client-tries-443-instead-of-80/7327/1 "2019-12-03T05:19:11Z")

</div>

I configured my pmm-server to run on 80 port , but when i try to connect with pmm-admin config --server-url , even if i put the url:80 he tries the 443 port. It is mandatory 443 at client level ?

---

<div class="post-metadata">

**Author:** ![lalit.choudhary](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lalit.choudhary/32/51_2.png) [@lalit.choudhary](https://forums.percona.com/u/lalit.choudhary)\
**Post date:** [December 3, 2019, 10:12am UTC](https://forums.percona.com/t/pm2-client-tries-443-instead-of-80/7327/2 "2019-12-03T10:12:39Z")

</div>

Hi Catalin,

It is not mandatory to run pmm on 443, could you please provide docker command you are using for pmm-server install and pmm-admin config command with the output you are getting. Here I would like to know how you are checking/ concluding that pmm trying to connect to 443 port.

In my test, I found that even after configured pmm-server to run on port 80 and also configuring pmm client as well to use port 80, it configured to use 443 port what we can see from /usr/local/percona/pmm2/config/pmm-agent.yaml and pmm-admin status output. Let us know if this case for you as well.

Ref : [URL][[PMM-5072] PMM2 client tries 443 instead of 80 - Percona JIRA](https://jira.percona.com/browse/PMM-5072%5B/URL%5D)

---

<div class="post-metadata">

**Author:** ![Stateros](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/stateros/32/2490_2.png) [@Stateros](https://forums.percona.com/u/Stateros)\
**Post date:** [December 3, 2019, 10:19am UTC](https://forums.percona.com/t/pm2-client-tries-443-instead-of-80/7327/3 "2019-12-03T10:19:51Z")

</div>

Hi Catalin, from security perspective it’s very good to use 443 port for pmm. But if you don’t have certificate and other staff, you can just add --server-insecure-tls flag in pmm-admin config command. It will skip checking ssl/tls, and you can use http link to your pmm-server.  
For example:

```auto
pmm-admin config 10.10.10.10 generic best_db_name --server-insecure-tls --server-url=http://admin_user:admin_password&#64;pmm.host.com/ --force

```
