Proxmox and port 5432 on LXC container

babak

Active Member
Jul 13, 2019
15
0
41
52
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?