Macos – How to connect to an SMB share from a Mac using a specific port

macosnetwork-sharesnetworkingsmb

I'm trying to connect to an SMB share on a Windows machine from a Mac. The SMB is running on port 445. Apparently the Mac is trying to connect on ports 137 through 139.

How can I configure my Mac client to connect on port 445?

Best Answer

Try adding the port number to the URL.

From the "Go" menu in Finder, choose "Connect to Server..." (or simply hit command-K).

In the "Server Address:" field, enter

smb://192.168.0.4:445/

(replacing the IP address as appropriate)

Related Question