I resolved my problem by adding host name and IP to hosts file (/etc/hosts) and change ip address to host name in freetds.conf . Now it's work fine! In my opinion it was a problem with reverse IP lookup. Inserting: #define NOREVERSELOOKUPS to src/tds/config.c should also help. Thank's freddy77 Marcin