Skip to Content.
Sympa Menu

freetds - Re: [freetds] Freetds connection problem

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 connection problem
  • Date: Sat, 29 Nov 2008 18:47:09 -0500

Franck Y wrote:
> >> net.c:836:tds7_get_instance_port(192.168.10.50, SL)
> >> net.c:905:tds7_get_instance_port: timed out on try 0 of 16
...
> >> net.c:905:tds7_get_instance_port: timed out on try 15 of 16
> >> net.c:974:instance port is 0
> >> login.c:418:invalid port number
> >
> > Mmm... possibly there is no SL instance...
> >
> > freddy77
>
> Oh how can i see the port number of the instance ?

The tds7_get_instance_port dialog, above, shows FreeTDS interrogating the
server for the port associated with the "SL" instance. There is no NACK
("what are you talking about") kind of reply in the protocol for this kind
of request; the server simply ignores invalid requests.

If you are sure 192.168.10.50 is the right address, are you sure "SL" is
the right instance name? When you log in via Microsoft's tool, what does

select @@servername

return?

http://support.microsoft.com/kb/313225

<quote>
To find the SQL Server instance port number, follow these steps:

1. On the Microsoft SQL Server 2000 server, start the SQL Server Network
Utility.
2. Click the General tab, and then click the instance you want from the
Instances drop-down menu.
3. Click TCP/IP, and then click Properties.

Note that the port number for this instance appears in the Properties
dialog box.
</quote>

You should be able to telnet to the port.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page