@nadha, thank you for posting your query here!
If you have tested and confirmed that your setup works in a non-production (non-prod) environment with the storage account firewall setting "enabled from all networks," but you are facing connectivity issues when testing from a public PC with an SFTP client in your production (prod) environment, there are several factors to consider in order to securely allow SFTP access from a public PC to your Azure Blob Storage in the production environment:
As for prod environment you have selected the storage account firewall setting as "enabled from selected networks ", please confirm that the public IP address of the PC from which you are attempting to connect is correctly included in the list of allowed networks in the Azure Blob Storage firewall settings.
SFTP Client Configuration:
Please verify that your SFTP client is configured correctly to connect to Azure Blob Storage. Check that you are using the correct hostname, port (SFTP typically uses port 22), username and password.
Ensure that your SFTP client uses secure SFTP protocols.
Public PC Firewall and Proxy:
Kindly check if the public PC has any local firewall or proxy settings that might be blocking the SFTP connection. You may temporarily disable local firewalls for testing purposes and check.
For limitation and known issues with SFTP, please refer: https://learn.microsoft.com/en-us/azure/storage/blobs/secure-file-transfer-protocol-known-issues
If you've checked all these points and are still experiencing issues, it may be helpful to provide specific error messages or details about the issue you're encountering.
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.