Page 1 of 1

ErrorCode 08006 - unreachable host

Posted: Fri 04 Sep 2009 00:26
by LaserTech
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:
http://www.lasertech.com.br/images/error_debug.gif

Image connection sucessfully:
http://www.lasertech.com.br/images/conn ... ssfuly.gif

Thanks

Posted: Mon 07 Sep 2009 07:22
by Shalex
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 4.55.42.2 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?