when u getting this issue while deploying on pythonanywhere.com or in your localserver
On Mon, Dec 6, 2021 at 8:06 PM CHANDNI SINGH <[email protected]> wrote: > hey, > i am facing the same problem > can you please guide me on how to solve that issue ??? > > On Thursday, 16 May, 2019 at 6:38:01 pm UTC+5:30 [email protected] > wrote: > >> First, you should not share your password to your server to anyone….thats >> very dangerous. Now anyone can log in to your server with nefarious >> intentions. >> Be more careful. >> >> But it sounds like something on the server is blocking your connection. >> >> On May 16, 2019, at 8:57 AM, omar ahmed <[email protected]> wrote: >> >> hii .. >> i try to publish my first project on python anywhere but it still not >> working and this is my error : >> could not connect to server: Connection refused Is the server running on >> host "localhost" (::1) and accepting TCP/IP connections on port 5432? could >> not connect to server: Connection refused Is the server running on host >> "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? >> could not connect to server: Connection refused Is the server running on >> host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? >> and this is my db settings : >> >> DATABASES = { >> 'default': { >> 'ENGINE': 'django.db.backends.postgresql_psycopg2', >> 'NAME': 'arena', >> 'USER': 'arenadbuser', >> 'PASSWORD': 'mlo9**@la', >> 'HOST': 'localhost', >> 'PORT': '', >> } >> } >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/93204eb8-f5e3-43bf-98ff-b79478bce544%40googlegroups.com >> <https://groups.google.com/d/msgid/django-users/93204eb8-f5e3-43bf-98ff-b79478bce544%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/7b66cbaf-e069-48db-ae46-8fea37c3644an%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/7b66cbaf-e069-48db-ae46-8fea37c3644an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOGms28UZK4eN0qZT7%3DqPu%2Bur2W5JbL%3DLQvepsrOo7mkL4kvGw%40mail.gmail.com.

