on my pg_hba.conf i right now have this: # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 192.168.0.1/32 trust host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust
On Dec 17, 9:38 pm, Mathieu Leduc-Hamel <marra...@gmail.com> wrote: > check if postgresql is listening to 127.0.0.1, 0.0.0.0 or nothing in postgrsql > > > > > > > > > > On Fri, Dec 17, 2010 at 3:30 PM, Servais Nabil <nabil.serv...@gmail.com> > wrote: > > Hello, I think postgresql is not running or doesnt use the 5432 port. Check > > your processus. > > > Le 17 déc. 2010 21:25, "Christophe Pettus" <x...@thebuild.com> a écrit : > > >> On Dec 17, 2010, at 12:02 PM, armandoperico wrote: > >>> On my local machine everything is running fine, but when i try to > >>> deploy to a running server with apache (mod_wsgi), i'm getting the > >>> following error (database related): > > >>> Caught OperationalError while rendering: could not connect to server: > >>> Permission denied > >>> Is the server running on host "127.0.0.1" and accepting > >>> TCP/IP connections on port 5432? > > >> What's your database configuration on the Apache machine? > > >> -- > >> -- Christophe Pettus > >> x...@thebuild.com > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Django users" group. > >> To post to this group, send email to django-us...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> django-users+unsubscr...@googlegroups.com. > >> For more options, visit this group at > >>http://groups.google.com/group/django-users?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to django-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > django-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. > > -- > Mathieu Leduc-Hamel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.