Closed viktor-yunenko closed 3 years ago
This is by design, due to security concerns it's not possible to directly connect to the database from outside.
Please also see https://docs.divio.com/en/latest/how-to/interact-database/#interact-with-the-cloud-database
Also, SSH tunneling via the SSH instructions should work, like this: https://support.divio.com/en/articles/735276-how-to-ssh-into-your-cloud-server
hi @victor-yunenko if you are happy with my answers please feel free to close otherwise please specify
Also, SSH tunneling via the SSH instructions should work, like this: https://support.divio.com/en/articles/735276-how-to-ssh-into-your-cloud-server
Did the ssh tunnel work for you? I was receiving an error when I tried last time
A whitelist is a good practice, but I would say the problem here is the inability to configure or workaround it. Ie it isn't possible to simulate a server instance anymore then.
@victor-yunenko it would be great if you could share the CLI command you used to set up the SSH tunnel here (without the project's credentials), thank you!
Note:
Use cases:
Alternative to use case: use fixtures
I tried ssh tunneling lately, that seems to work fine. I would say it deserves documentation since on other platforms a user usually gets the ability to configure the whitelisting.
We aren't affected by it at the moment, hence we'll close it for now.
Eg psql command doesn't work.