Microsoft File Sharing SMB ports

The common problem user encounter is file sharing is not working. If connectivity to the file sharing server is already proven is by PING. Then proceed to check if the ports are blocked. Microsoft file sharing uses the Server Message Block (SMB) which is a client/server protocol that provides file and printer sharing between computers.

Server Message Block (SMB) uses the below ports communications:

Microsoft file sharing SMB: User Datagram Protocol (UDP) ports from 135 through 139 and Transmission Control Protocol (TCP) ports from 135 through 139.
Direct-hosted SMB traffic without a network basic input/output system (NetBIOS): port 445 (TCP and UPD).

To check whether the port are open

Start > Run > cmd > netstat -ano

Netstat Command

Netstat Command

From the results, you will see “Proto”, “Local Address”, “Foreign Address”. Protocol refer to either TCP or UDP which the application is using. Local Address is the local computers’s IP address or Source Address and the Foreign Address is the Destination Address. Both port 135 and 445 should be listed there for the Microsoft File Sharing to work properly.

If the port are not open, check the Microsoft Windows Firewall

Start > Run > wscui.cpl

Microsoft Firewall

Microsoft Firewall

Select Windows Firewall

File and Printer Sharing

File and Printer Sharing

Select second tab, “Exceptions”. Make sure “File and Printer Sharing” is checked.

Ports under File and Printer Sharing

Ports under File and Printer Sharing

The allowed ports under the “File and Printer Sharing” choice.

Your Ad Here

Next Page →

server space web hosting transition backup Tech Ed SEA 2008 Tech·Ed SEA 2008 Limited Edition T-shirt MPLS freebies Microsoft TechEd SEA 2008 IP Bgp hosting Wine Registry Tweak blogging VMware phishing DHCP contest Putty Freeware Photography router Security Ubuntu Linux Cisco Microsoft Network