Share via


folder sharing firewall ports

Question

Tuesday, November 29, 2011 12:41 PM

hi

i i need to connect a windows 2003/2008 server to another windows 2003/2008 server only for accessing a shared folder wich ports should i open on the firewall?

thanks

All replies (3)

Tuesday, November 29, 2011 12:49 PM âś…Answered

according to these i need

http://technet.microsoft.com/en-us/library/cc731402.aspx

TCP

139, 445

UDP

137, 138

instead on other articles they says i need

http://support.microsoft.com/kb/298804/en-us 

The following ports are associated with file sharing and server message block (SMB) 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).

wich is true?

thanks


Thursday, January 30, 2014 10:20 AM | 1 vote

Hi

Simply use 

TCP : 139,445

UDP: 137,138

For More Information:

http://technet.microsoft.com/en-us/library/cc731402.aspx

**************** Sincerely Yours Ziyaei Ali *****************


Saturday, December 16, 2017 7:10 AM

Hi,

TCP

139, 445

UDP

137, 138

in our firewall the ports are not allowed for security reason is their any other ports for shared folder