[Mono-devel-list] RE: [Mono-list] Npgsql sources finally updated!!
Daniel Morgan
danielmorgan@verizon.net
Thu, 16 Oct 2003 19:02:34 -0400
How would you enable port 5432 in Red Hat Linux 9?
-----Original Message-----
From: Francisco Figueiredo Jr. [mailto:fxjrlists@yahoo.com.br]
Sent: Thursday, October 16, 2003 10:03 AM
To: Daniel Morgan
Cc: mono-devel mailing list; Mono-List
Subject: Re: [Mono-devel-list] RE: [Mono-list] Npgsql sources finally
updated!!
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.