Re: Mysterious Port of SQL Server not shown by netstat
From: Stefan Delmarco [MSFT] (StefanDe_at_online.microsoft.com)
Date: 03/19/04
- Next message: Julie: "Question on stored proc on functions"
- Previous message: Dejan Markic: "Re: Create indexed view"
- In reply to: Abhishek Srivastava: "Re: Mysterious Port of SQL Server not shown by netstat"
- Next in thread: Abhishek Srivastava: "Re: Mysterious Port of SQL Server not shown by netstat"
- Reply: Abhishek Srivastava: "Re: Mysterious Port of SQL Server not shown by netstat"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 19 Mar 2004 09:23:31 -0000
A couple of things to check:
Make sure clients are connecting on TCP through Query Analyser and
specifying the SQL Server as: "TCP:<SQLServerNameorIP>,1433" (for example,
TCP:SQL01,1433).
If this fails then yoru SQL Server is not listening on 1433.
The output from netstat can either display well known ports by their
"service name" or their numerical representation. "ms-sql-s" and 1433 are
the same thing:
For "service name" output use:
netstat -ap TCP | findstr ms-sql-s
For "numeric" output use:
netstat -anp TCP | findstr 1433
Download TCPView from http://www.sysinternals.com to easily see what ports
sqlservr.exe has bound to. Note that TCPView.exe only uses the "name"
output (i.e. if sqlservr.exe is listening on 1433 you won't see 1433 as the
port, only ms-sql-s).
Have a look at the following file to see the mapping between service name
and port:
%SYSTEMROOT%\system32\drivers\etc\services
You'll find:
ms-sql-s 1433/tcp #Microsoft-SQL-Server
ms-sql-s 1433/udp #Microsoft-SQL-Server
-- This posting is provided "AS IS" with no warranties, and confers no rights. "Abhishek Srivastava" <abhishek-srivastava@nospam.net> wrote in message news:ewS0U%23YDEHA.3256@TK2MSFTNGP09.phx.gbl... > In the general Tab. I can see that the Enabled Protocols by Order has > Tcp/Ip and Named Pipes. The port of Tcp/Ip is 1433. The default pipe for > Named Pipe is sql\query. > > In the Alias tab, there is no entry. > > In the Db-Librarry objects I can see > > File name: c:\windows\system32\ntwdblib.dll > version:8.00.194 > Date: 8/5/2000 > Size 274489 Bytes > > Automatic ANSI to OEM Conversion is checked > Use international Settings is checked > > In Network Libraries Tab > > Named Pips c:\windows\system32\dbnmpntw.dll 8.0.341 3/25/2003 > Tcp/Ip c:\windows\system32\dbnetlib.dll 8.0.341 3/25/2003 > Multiprotocol c:\windows\system32\dbmsrpcn.dll 8.0.341 3/25/2003 > NWLink IPX/SPX c:\windows\system32\dbnetlib.dll 8.0.341 3/25/2003 > > > My query analyzer client from local machine and remote machine > successfully connects to my server. There is a jdbc client which wants > to connect at port 1433 that fails saying could not establish network > connection at port 1433. > > I did netstat -a and got completely confused when I didn't find that > port 1433 listed there... even when the sql server and query analyzer > client are working fine. > > regards, > Abhishek. > > Tibor Karaszi wrote: > > Did you run Server Network Utility? > >
- Next message: Julie: "Question on stored proc on functions"
- Previous message: Dejan Markic: "Re: Create indexed view"
- In reply to: Abhishek Srivastava: "Re: Mysterious Port of SQL Server not shown by netstat"
- Next in thread: Abhishek Srivastava: "Re: Mysterious Port of SQL Server not shown by netstat"
- Reply: Abhishek Srivastava: "Re: Mysterious Port of SQL Server not shown by netstat"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|