?
Solved

What port does a MS server listen for UNC file shares?

Posted on 2011-09-09
6
Medium Priority
?
24,233 Views
Last Modified: 2012-05-12
what tcp port does windows servers listen on for files shares?

for example if the server ip is x.x.x.x and unc for the file path is \\servername\sharename

can i telnet to x.x.x.x port number to see if the server is listening?
0
Comment
Question by:Dragon0x40
6 Comments
 
LVL 21

Assisted Solution

by:Papertrip
Papertrip earned 1000 total points
ID: 36512352
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 UDP).


Use TCP/445 for your telnet test imo.
0
 
LVL 18

Assisted Solution

by:lludden
lludden earned 500 total points
ID: 36512353
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).
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36512358
lludden your google is not as fast as mine!

bwahaha!

<3 googling for points ;)
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
LVL 10

Accepted Solution

by:
Justin C earned 500 total points
ID: 36512378
0
 

Author Comment

by:Dragon0x40
ID: 36512487
It is listening on three of the ports but rejected the telnet session on the other three.

Looks like the network is working and maybe a server configuration problem.
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36512502
You won't get any response via telnet from ports that are only listening for UDP, 445 is the main one you should be concerned with getting something back from.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Resolve DNS query failed errors for Exchange
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question