Skip to Content.
Sympa Menu

freetds - Re: [freetds] Connection timing out to valid server

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Edmundo Robles L." <erobles AT sensacd.com.mx>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>, "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Connection timing out to valid server
  • Date: Fri, 30 Jan 2009 08:47:47 -0600


Try changing the port by instance



[freetds]
tds version = 8.0
host = 192.168.1.13
instance=MSSQLSERVER
timeout=300


Ing. Edmundo Robles Lopez.
Analista Programador.

--




-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org on behalf of Frediano Ziglio
Sent: Fri 1/30/2009 6:48 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Connection timing out to valid server

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
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page