Which port is used by the Windows SMB (Samba) service?

Study for the CPSA Port Numbers Exam. Practice with flashcards and multiple choice questions, each with hints and explanations. Get ready for your test!

Multiple Choice

Which port is used by the Windows SMB (Samba) service?

Explanation:
SMB traffic over modern Windows and Samba implementations uses port 445, the direct SMB over TCP/IP port. This is the standard for file and printer sharing in current setups. Historically SMB could run over NetBIOS on ports 137–139, but today the direct TCP/IP path is on 445. That’s why the Windows SMB (Samba) service is associated with 445. The other ports correspond to different services: 22 is SSH, 111 is RPC/portmapper, and 514 is syslog.

SMB traffic over modern Windows and Samba implementations uses port 445, the direct SMB over TCP/IP port. This is the standard for file and printer sharing in current setups. Historically SMB could run over NetBIOS on ports 137–139, but today the direct TCP/IP path is on 445. That’s why the Windows SMB (Samba) service is associated with 445. The other ports correspond to different services: 22 is SSH, 111 is RPC/portmapper, and 514 is syslog.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy