Proxmox and port 5432 on LXC container

babak

Active Member
Jul 13, 2019
15
0
41
51
I installed a Debain 11 LXC container on Proxmox 7.2.7 and installed PostgreSQL on Container, locally I can connect to PostgreSQL database but I cannot access it from other machines, I checked postgresql.conf pg_hba.conf disabled nft, disabled iptables, proxmox firewall many times and IMPORTANT POINT: if I change 5432 port to 5061 I can connect to database remotely!!. Is there another application in Proxmox managing port 5432 for LXC containers ?

Regards
 
Last edited:
hi,

Is there another application in Proxmox managing port 5432 for LXC containers ?
no, there isn't.

locally I can connect to PostgreSQL database but I cannot access it from other machines, I checked postgresql.conf pg_hba.conf disabled nft, disabled iptables, proxmox firewall many times and IMPORTANT POINT: if I change 5432 port to 5061 I can connect to database remotely!
how/where did you change the port?

when you run ss -antlp on the container do you see the open port?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!