Proxy connection

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
TestUser

Proxy connection

Post by TestUser » Wed 08 Dec 2004 10:06

Hi,

I am using corelab for PostgreSQL database and I have a problem with PROXY.

When I configured my connection with proxy OPEN command gives me a error "Unknown host". But without proxy it works fine.

Can somebody help me

Thanks,.

Yuri
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Proxy connection

Post by Yuri » Thu 09 Dec 2004 09:27

Please specify how you set Connection.ConnectionString.

Try to specify IP address of the PostgreSQL server in "Host" option of the connection string.
For example,

Code: Select all

connection.ConnectionString = "Host = 192.168.0.134; User Id = postgres; database = test";
connection.Open();

Post Reply