How do I make a VM with public IP accessible on port 5432 to WVD VMs under my company's private network?
Ritika Laddha
90
Reputation points
Public IP VM is the server where postgresSQL is deployed.
I want to connect to this database from WVD VM which is under private network and has private IP. Creating Public IP for this VM is violating company policies.
I cannot add inbound rule for Postgres server with Any source as I want to open port 5432 which is a database port, so that is also violating company policies. I have tried adding inbound by adding private IP of WVD VMs, but that is not working. I am not even able to ssh to this server from my WVD VM.
I wanted to know if there is any solution to connet to that server?