[freetds] Connection timing out to valid server
Frediano Ziglio
freddy77 at gmail.com
Fri Jan 30 07:48:06 EST 2009
2009/1/30 Jared O'Connell <jared.oconnell at gmail.com>:
> Hi all,
>
> I have setup freetds on Ubuntu 8.04 server according to this guide:
>
> http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
>
> I have the following entry in my freetds.conf:
>
> [haltkoer]
> host = xxx
> port = 1433
> tds version = 8.0
>
>
> I try to run sqsh as so:
>
> sqsh -S haltkoer -U xxx -P xxx
>
> but eventually receive
>
> src/tds/login.c: tds_connect: xxx:1433: Connection timed out
>
> Even though:
>
> -I can ping the server
> -doing a tcpdump I see the relevant connection attempts
>
> Any ideas?
>
> Kind regards,
>
> Jared
Try with telnet! If it doesn't work probably it's a firewall.
Are you sure port is the standard port (1433??)
freddy77
More information about the FreeTDS
mailing list