Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2021-12-10 Thread ram s
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 
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 randmw...@gmail.com
> 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  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 django-users...@googlegroups.com.
>> To post to this group, send email to django...@googlegroups.com.
>> 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 django-users+unsubscr...@googlegroups.com.
> 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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOGms28UZK4eN0qZT7%3DqPu%2Bur2W5JbL%3DLQvepsrOo7mkL4kvGw%40mail.gmail.com.


Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2021-12-10 Thread Ajeet Kumar
is your postgres server is up and running? Try to connect with pgadmin

On Mon, 6 Dec, 2021, 8:05 PM CHANDNI SINGH, 
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 randmw...@gmail.com
> 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  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 django-users...@googlegroups.com.
>> To post to this group, send email to django...@googlegroups.com.
>> 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 django-users+unsubscr...@googlegroups.com.
> 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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANho1u6hJ-cA80t12tDMZQgZQOTDsp9bJZt52Km%2BgS7Y2Njtxw%40mail.gmail.com.


Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2021-12-06 Thread CHANDNI SINGH
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 randmw...@gmail.com 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  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 django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> 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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7b66cbaf-e069-48db-ae46-8fea37c3644an%40googlegroups.com.


Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2019-05-16 Thread omar ahmed
do you mean firewall stop all connections ??
thank you

On Thursday, May 16, 2019 at 3:24:52 PM UTC+2, OnlineJudge95 wrote:
>
> 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 > 
> 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  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  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 django...@googlegroups.com.
>>>> To post to this group, send email to django...@googlegroups.com.
>>>> 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 django...@googlegroups.com.
>>>> To post to this group, send email to django...@googlegroups.com.
>>>> 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 django...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/75f75f4c-c2cd-43ae-ab13-51000c8f3bc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2019-05-16 Thread Test Bot
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  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  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  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 django...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> 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 django...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.


Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2019-05-16 Thread omar ahmed
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 > 
> 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 > 
>> 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 django...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> 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 django...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.


Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2019-05-16 Thread omar ahmed
ok you are right

On Thursday, May 16, 2019 at 3:08:01 PM UTC+2, Rob W 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 > 
> 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 django...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com 
> .
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/c8ceb858-6d02-4b48-a177-95c2d3c0a3b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2019-05-16 Thread Test Bot
Did you check your firewall settings?

On Thu, May 16, 2019, 6:37 PM Rob W  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  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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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%3DM5eQXCQ3P00X2i_OCp4K%3DFL4uvaKUdFtbL2L%3DH8NP2xZnNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2019-05-16 Thread Rob W
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  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 django-users+unsubscr...@googlegroups.com 
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com 
> <mailto:django-users@googlegroups.com>.
> Visit this group at https://groups.google.com/group/django-users 
> <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 
> <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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.


could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2019-05-16 Thread omar ahmed
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.