Tuesday, July 19, 2022

Re: Remote database using ssh

Probably your database is not listening for remote connections for security reasons. Do the database and your application server are in the same network? Or maybe you are able to set up a VPN for both of these machines. Last but not recommended solution you can open a public port and allow only specyfic IP to connect and change the database settings to listen not only for local connections.
wtorek, 19 lipca 2022 o 17:50:52 UTC+2 bboy...@gmail.com napisał(a):
Public db port but not recommend for security reason and performance.

On Tue, 19 Jul 2022 at 22:32 Wennie Catabay <wennie...@gmail.com> wrote:
Hello,

I am stuck on defining how to connect a remote database from another server using ssh. I am able to connect the remote database with putty using ssh, but but I don't know how to apply it in django.

Thank you.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d0c2f56f-c739-4508-8529-4c5107f08636n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f38a890e-db5d-45a8-a616-16443e9130e5n%40googlegroups.com.

No comments:

Post a Comment