[Mono-devel-list] RE: [Mono-list] Npgsql sources finally updated!!

Francisco Figueiredo Jr. fxjrlists@yahoo.com.br
Thu, 16 Oct 2003 12:03:27 -0200


Daniel Morgan wrote:
> Hi Francisco,
> 

Hi Daniel Morgan!! :)

> With PostgreSQL 7.3.2 and mono from yesterday's cvs built on Red Hat linux
> 7.2, I having a problem connecting to PostgreSQL via Npgsql.  I am getting a
> socket exception: connection refused.  I tried modifying the postgres .conf
> file.. pg_hba.conf I think, but I still can not connect.
> 

Uhmmmm... are you using server name or ip address? Did you try with ip 
address?

> What do I need to do to connect to PostgreSQL using Npgsql?  Its been awhile
> for me.
> 

You only need the Npgsql and Mono runtime to use it. And now, with ssl 
support, of Carlos Guzman's tls library in the Lib folder.

The only thing coming to my mind, but I think you already tried this, is 
to check if postgresql is listening in the 5432 tcp port.
I sometimes have this problem because I forget to enable it.

Please, let me know if you still get the problem.

Regards,

Francisco Figueiredo Jr.