Solved

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

Posted on 2011-09-09
6
18,405 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 250 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 125 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 10

Accepted Solution

by:
BloodRed earned 125 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now