Skip to Content.
Sympa Menu

freetds - Re: [freetds] freetds failed to connect to MSSQL server ends with error ( Unable to open socket There was a problem connecting to the server )

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] freetds failed to connect to MSSQL server ends with error ( Unable to open socket There was a problem connecting to the server )
  • Date: Mon, 14 Sep 2009 21:08:10 -0400

Arlen Drina wrote:
>
> Here is that connection over telnet works.
>
> telnet 1.1.1.1 1433
> Trying 1.1.1.1 ...
> Connected to 1.1.1.1
> Escape character is '^]'.
>
>
> I am very cofused why is is "unable to connect " when used freetds, I
> beleive config files are ok.

I'm confused, too. Your log clearly says you can't connect, yet telnet(1)
can.

The highly technical solution would be to use tcpdump(8) to see if in fact
any packets are sent to that port, and what the responses are, if any. A
less technical one would be to ask a Debian list why one application would
be able to connect and another can't.

But the best way, really, is to walk through tds_open_socket with a
debugger and find out where it's really failing. Something odd is going
on, and it's hard to guess via email.

HTH.

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page