Compare cert salaries and plan your next career move
When does Windows 2000/XP/2003 uses port 445, and when it uses 139? From now on I will refer to the "client" as the computer from where you map drives and other shared resources, and to the "server" as the computer with resources that are shared. I will also refer to NetBIOS over TCP/IP only as NetBT. If the client has NetBT enabled, it will always try to connect to the server at both port 139 and 445 simultaneously. If there is a response from port 445, it sends a RST to port 139, and continues it's SMB session to port 445 only. If there is no response from port 445, it will continue it's SMB session to port 139 only, if it gets a response from there. If there is no response from either of the ports, the session will fail completely. If the client has NetBT disabled, it will always try to connect to the server at port 445 only. If the server answers on port 445, the session will be established and continue on that port. If it doesn't answer, the session will fail completely. This is the case if the server for example runs Windows NT 4.0. If the server has NetBT enabled, it listens on UDP ports 137, 138, and on TCP ports 139, 445. If it has NetBT disabled, it listens on TCP port 445 only.Source: What's Port 445 in W2K/XP/2003? - SMB Over TCP
UncleCid wrote: » Unless the sysvol and netlogon file shares are causing the workstations to do these constant session attempts?
UncleCid wrote: » Thanks astorrs. XD You know when I was trying to identify port 1026 (tcp), I got almost no information. I ended up finding this somewhat abscure sight that said it was for Active Directory Replication @ logon. Wierd that that wasn't anywhere in my 299 text book. Is that a new service tacked on since the publish of that book? thank you again astorrs. XD
To map the port in the registry: Start Registry Editor (Regedt32.exe). Locate the following key in the registry: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters On the Edit menu, click Add Value, and then add the following registry value: Value Name: TCP/IP PortData Type: REG_DWORDRadix: DecimalValue: greater than 1024 Quit Registry Editor. Make sure that the slash in "TCP/IP" is a forward slash, and that the value that you assign is greater than 1024, in decimal format. That number is the extra port that you have to open (TCP, UDP) on the firewall. Setting this registry value on every domain controller inside the firewall does not affect performance, and covers any logon request redirects that occur because of servers that are down, roles that change, or bandwidth requirements.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.