all groups > sql server connect > june 2004 >
You're in the

sql server connect

group:

When will port 445 be used by SQL Server?


When will port 445 be used by SQL Server? Peter
6/23/2004 10:57:01 AM
sql server connect:
Re: When will port 445 be used by SQL Server? Sue Hoegemeier
6/23/2004 7:43:45 PM
You can have port 445 used when the connection is made
through named pipes.
Named pipes will use NetBios. NetBios requests also use
ports 137-139.

-Sue

On Wed, 23 Jun 2004 10:57:01 -0700, "Peter"
[quoted text, click to view]
Re: When will port 445 be used by SQL Server? Lou_Arnold NO[at]SPAM nospam.com
6/24/2004 1:59:41 AM
Port 445 is used by MS Directory Services. You computer should have a
file named 'services' (no extension) that lists ports and their
aliases. These give some hint as to the use of the ports.

Its likely that the client uses 445 to find servers.

See the following for more help:

http://support.microsoft.com/default.aspx?kbid=814130

and

http://support.microsoft.com/?id=287932

Lou Arnold

On Wed, 23 Jun 2004 19:43:45 -0600, Sue Hoegemeier
[quoted text, click to view]
Re: When will port 445 be used by SQL Server? Peter
6/25/2004 8:01:02 PM
Hi Sue,

Under what situation I will see port 445 being used instead of port 139 if the only enabled protocol is Named Pipes. My understanding is that both ports are used by SQL Server using Named Pipes.

Thank you,

Peter

[quoted text, click to view]
Re: When will port 445 be used by SQL Server? Peter
6/25/2004 8:03:01 PM
Hi Lou,

I'm looking for when the server will use port 445 instead of port 139. I don't know what is the differenece between these 2 ports.

Thank you,

Peter

[quoted text, click to view]
Re: When will port 445 be used by SQL Server? Sue Hoegemeier
6/27/2004 9:37:17 PM
You won't see 445 instead of 139. You'd see both.

-Sue

On Fri, 25 Jun 2004 20:01:02 -0700, "Peter"
[quoted text, click to view]
Re: When will port 445 be used by SQL Server? peter
6/27/2004 9:52:01 PM
Hi Sue,

I'm using Port Reporter and TCPView to check what ports are being used. I can only find port 139 being used in communication between client and server. Port 445 is open since I can telnet to it and net config server also show NetbiosSmb as active.

1. Besides Names Pipes, do I need to enable other network libraries on client and server?
2. Which network protocols should be installed on both client and server?
3. What other ports (e.g. 135, 137,138,139,1433, 1434) besides port 445 must be opened?


Thank you.

[quoted text, click to view]
Re: When will port 445 be used by SQL Server? peter
6/27/2004 10:18:01 PM
Hi Lou,

I have looked at the services. It basically lists out what port is
for in a simple way. I have tried to disable File and Printer Sharing
but it only blocks me from registering the server on the client machine
instead of using port 445. I want to find out why I cannot just enable
port 445 only to make SQL Server to communicate
with the client machine. I never look into this area (port) before.
But now with the coming service packs for Windows XP and Windows
2003, it is important to understand what ports need to be opened.

Peter

[quoted text, click to view]
Re: When will port 445 be used by SQL Server? Lou_Arnold NO[at]SPAM nospam.com
6/28/2004 4:58:31 AM
Peter,
I refer you again to the services file similar to:
C:\WINNT\system32\drivers\etc\services
The aliases for ports 137, 138, and 139 suggest that they are used for
NetBios communications over TCP/IP. If you diable File and Printer
Sharing, these ports will not be used, since File and Printer Sharing
is done via NetBios (I believe from what I've read).

Lou Arnold
Ottawa Canada

On Fri, 25 Jun 2004 20:01:02 -0700, "=?Utf-8?B?UGV0ZXI=?="
[quoted text, click to view]
Re: When will port 445 be used by SQL Server? peter
6/28/2004 11:03:02 AM
Hi Lou,

I'm testing this in Windows Firewall of Windows XP SP2 RC2.

Thank you for the links but I have read all those links for the past few days to understand more about port 445 and 139.

I have tried to disable NetBIOS over TCP/IP in SQL Servers residing in Windows 2000 and Windows XP. But as soon as I do that, I cannot register using Named Pipes.

Thank you for your help.

[quoted text, click to view]
Re: When will port 445 be used by SQL Server? Lou_Arnold NO[at]SPAM nospam.com
6/28/2004 2:18:25 PM
To control ports, one needs a firewall. So either your Windows OS has
a built in firewall or you have one separate from the operating
system.

Firewalls rules often allow ports to be enabled for a combination of
certain applications, for direction, for protocol type, and for a
destination port. However, I am not familiar enough with port 445 use
to tell you how to configure it.

Here are some atricles that may help:
http://grc.com/port_445.htm
http://ntsecurity.nu/papers/port445/
http://www.linklogger.com/TCP445.htm
http://www.petri.co.il/what_is_port_445_in_w2kxp.htm


On Sun, 27 Jun 2004 22:18:01 -0700, "=?Utf-8?B?cGV0ZXI=?="
[quoted text, click to view]
AddThis Social Bookmark Button