So one check would be to see all the connections that are allowed by your firewall.
On Thu, May 16, 2019, 6:45 PM omar ahmed <[email protected]> wrote: > no but can it struggle it ? > how can i check it > > On Thursday, May 16, 2019 at 3:09:55 PM UTC+2, OnlineJudge95 wrote: >> >> Did you check your firewall settings? >> >> On Thu, May 16, 2019, 6:37 PM Rob W <[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 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/04731D2F-C4EA-4716-969E-71994AF2EB11%40gmail.com >>> <https://groups.google.com/d/msgid/django-users/04731D2F-C4EA-4716-969E-71994AF2EB11%40gmail.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 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/f69f93cb-e456-4d4b-949c-38baa3e80e15%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/f69f93cb-e456-4d4b-949c-38baa3e80e15%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 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/CAD%3DM5eQwiprGXXU4nwcVi3vQwZE0Vyo23QnPzqW4sM%2ByO7qy9A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

