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.
"Lou Arnold" wrote:
> 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=?="
> <peter@discussions.microsoft.com> wrote:
>
> >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
> >
> >"Lou Arnold" wrote:
> >
> >> 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=?="
> >> <Peter@discussions.microsoft.com> wrote:
> >>
> >> >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
> >> >
> >> >"Sue Hoegemeier" wrote:
> >> >
> >> >> 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"
> >> >> <Peter@discussions.microsoft.com> wrote:
> >> >>
> >> >> >I'm using Port Reporter to check what ports are being used between client machine and SQL Server machine. I cannot find any entry using port 445 except an entry related the loopback address 127.0.0.1. But I see port 139 being used between client machine and SQL Server machine.
> >> >>
> >> >>
> >>
> >>
>