Can you provide information on what OS you are using? It may just be a
configuration issue. I had to edit the postgresql pg_hba.conf file on
my ubuntu setup to make it less strict (for development purposes).
https://help.ubuntu.com/community/PostgreSQL read on 'managing the
server' section to get an idea. Hope this helps.

Regards,
Joshua Sierra

On Apr 11, 9:08 am, L Corbani <lec...@gmail.com> wrote:
> I am new to django, and am running the tutorial.  I have edited
> 'settings.py' and am running "python manage.py runserver".
>
> When I run the server and then call "python manage.py syncdb" against
> my Postgres database, everything just hangs.
>
> If I kill 'runserver', then I get this message from syncdb:
>
> site-packages/Django-1.3-py2.4.egg/django/db/backends/
> postgresql_psycopg2/base.py
> line 140
>
> self.connection = Database.connect(**conn_params)
> psycopg2.OperationalError: could not connect to server:  Connection
> refused
>
> When I turn the server back on and run syncdb, it just hangs.  I try
> turning on verbose and other options...but I see nothing.
>
> It seems like something is talking to the server, but that is as far
> as it goes.
>
> Any thoughts of what might be wrong?
>
> Thanks.
> Lori

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to