How to resolve port 445 is not reachable from this client?

MHC Neuro 0 Reputation points
2023-12-18T22:06:37.05+00:00

I can map a network drive from an On-prem Windows client to an Azure file share. However, if I attempt to map a network drive using a client outside of my network, I get the diagnostic error "Port 445 is not reachable from this client" In my storage account under Networking, I have the setting "Public Access from all networks" - Enabled from all networks. Why can I only map a network drive from my network and not from other networks?

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,540 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anand Prakash Yadav 7,860 Reputation points Microsoft External Staff
    2023-12-19T12:48:41.3133333+00:00

    Hello MHC Neuro,

    Thank you for posting your query here!

    Please check if your firewall or ISP is blocking port 445, use the AzFileDiagnostics tool or Test-NetConnection cmdlet.

    Azure Files only allows connections using SMB 3.0 (with encryption support) from outside the region or datacenter. SMB 3.0 protocol has introduced many security features including channel encryption which is very secure to use over internet. However its possible that port 445 has been blocked due to historical reasons of vulnerabilities found in lower SMB versions. In ideal case, the port should be blocked for only for SMB 1.0 traffic and SMB 1.0 should be turned off on all clients.

    If you have ever been blocked using Azure Files due to your ISP's port 445, you can setup a Point to Site VPN to your Azure Files. Refer to the suggestions mentioned in the GitHub article

    You can mount the file share on your local machine by using the SMB 3.0 protocol, or you can use tools like Storage Explorer to access files in your file share. From your application, you can use storage client libraries, REST APIs, PowerShell, or Azure CLI to access your files in the Azure file share.

    You can use Azure File Sync to access your Azure file share. https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-deployment-guide?tabs=azure-portal%2Cproactive-portal

    Please let us know if you have any further queries. I’m happy to assist you further.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.