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

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?
Dragon0x40Asked:
Who is Participating?
 
Justin CConnect With a Mentor AWS Solutions ArchitectCommented:
0
 
PapertripConnect With a Mentor Commented:
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.
1
 
lluddenConnect With a Mentor Commented:
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
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
PapertripCommented:
lludden your google is not as fast as mine!

bwahaha!

<3 googling for points ;)
0
 
Dragon0x40Author Commented:
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
 
PapertripCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.