ErrorCode 08006 - unreachable host

ErrorCode 08006 - unreachable host

Postby LaserTech » Fri 04 Sep 2009 00:26

Hi, I´m using dotConnect for PostgreSQL Mobile Standard 4.55.39 06-Aug-2009 and I am having connection problems.

When I try to connect into my database in development time, the object PGSQLConnection

connect without problems. But... in run time, it´s returning an error:

ErrorCode: 08006
Message = "A socket operation was attempted to an unreachable host"

As you can see, I saved the screens with the described situations.

I'm using:

- PostgreSQL 8.2.5 win32
- Visual Studio 2008
- Pocket PC 2003 SE Emulator
- dotConnect for PostgreSQL Mobile Standard 4.55.39 06-Aug-2009

It would not be the case to try to use another version of this driver ?

Image Error:

Image connection sucessfully:

Posts: 4
Joined: Mon 17 Aug 2009 11:55
Location: Brazil

Postby Shalex » Mon 07 Sep 2009 07:22

In the Host parameter of your connection string please set the IP address of the host of the PostgreSQL database to which to connect (not the name).

The build of dotConnect for PostgreSQL Mobile is available. Please try it and notify us about the results. Could you please post your connection string here?
Devart Team
Posts: 7884
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for PostgreSQL