netstat -a shows listening on Port 1217 (changed ffrom default 1433) but
clients cannot connect.
I can connect locally using the management express tool.
The application that uses the MSDE works on the local server, but clients
fail to connect.
> =?Utf-8?B?QSBMYWtl?= <ALake@discussions.microsoft.com> wrote in
> news:93A44FA5-7F64-45B1-91DA-938702D5F04D@microsoft.com:
[quoted text clipped - 8 lines]
> If MSDE is listening on that port, can you access MSDE locally via loopback
> (127.0.0.1)?
Chris.Cheney - 12 Jul 2008 11:51 GMT
=?Utf-8?B?QSBMYWtl?= <ALake@discussions.microsoft.com> wrote in
news:4F8AB845-1E4E-4FCE-B021-BAD63DEBC854@microsoft.com:
> netstat -a shows listening on Port 1217 (changed ffrom default 1433)
> but clients cannot connect.
>
> I can connect locally using the management express tool.
Which I suspect is not using TCP/IP to connect.
a) Try to connect to 127.0.0.1:1217 (i.e. via TCP/IP) using one of the
ISQL/OSQL/SQLCMD utilities on the server.
b) If (a) works, try to connect the same way but use the assigned IP
address instead of the loopback address.
c) If (b) works, repeat (b) but from a different computer (but preferably
on the same subnet as the server).
d) If (c) works, repeat (b) but from one of the client computers.
> The application that uses the MSDE works on the local server, but
> clients fail to connect.
[quoted text clipped - 11 lines]
>> If MSDE is listening on that port, can you access MSDE locally via
>> loopback (127.0.0.1)?
Andrea Montanari - 12 Jul 2008 15:51 GMT
hi,
> netstat -a shows listening on Port 1217 (changed ffrom default 1433)
> but clients cannot connect.
[quoted text clipped - 3 lines]
> The application that uses the MSDE works on the local server, but
> clients fail to connect.
local connections are usually performed via shared memory and not net
protocols..
as you specified a static port, are the remote client aware of it (meaning,
you have to define an ALIAS in the cliconfg.exe protocols dialog for that
instance listening on port other than 1433 or include in the connection
string the used port like "...; Data Source=servername,1217; .....")..
or, you have to rely on dynamic port assignement and enable the SQL Server
Resolution Service (AKA the SQLBrowser in SQL Server 2005) to resolve the
port indirection at connection time.. the SQLBrowser will be listening on
UDP 1434 for incoming connection requests and will intercept them.. it will
resolve the port number querying the local registry for the current used
port and return that value to the incoming connections redirecting them to
the port the instance is listening on..
obviously, a firewall exception must be defined at the port level (which can
change at any instance bootstrap but usually doesn't) or, if the firewall
allows it, at the program (binary exe) level..

Signature
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz http://www.hotelsole.com
DbaMgr2k ver 0.21.1 - DbaMgr ver 0.65.1 and further SQL Tools
--------- remove DMO to reply