Azure sftp seems to be broken again

Nick White 0 Reputation points
2024-06-26T05:39:09.8233333+00:00

sftp waws-prod-blu-xxx.ftp.azurewebsites.windows.net

ssh: Could not resolve hostname waws-prod-blu-xxx.ftp.azurewebsites.windows.net: No such host is known.

(where xxx is a 3 digit number)

I have had this before and ended up making a new App Service, with all the complications this causes.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,401 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ganeshkumar R 590 Reputation points
    2024-06-26T06:44:50.4+00:00

    Test if the hostname can be resolved to an IP address using tools like nslookup or ping.

    nslookup waws-prod-blu-xxx.ftp.azurewebsites.windows.net
    

    or

    ping waws-prod-blu-xxx.ftp.azurewebsites.windows.net
    

    If these commands return errors, it indicates a DNS resolution issue.

    Ensure that your network configuration, including DNS settings, is correct. Sometimes corporate or local network settings might block or interfere with DNS resolution.

    Make sure that your App Service is up and running. Sometimes, if the App Service is stopped or if there are issues with the service itself, it might cause hostname resolution issues.

    And verify that you are using the correct FTP credentials (username and password) provided in the Azure portal for your App Service.

    Here is an example of how you might connect using SFTP with the correct hostname and credentials:

    sftp your-username@waws-prod-blu-123.ftp.azurewebsites.windows.net