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 ******@waws-prod-blu-123.ftp.azurewebsites.windows.net