Forums

ConnectionRefuseeddError: [Errno 111] Connection refused

Hello, I'm a free user and want to use python and connect to tgftp.nws.noaa.gov using the script: from ftplib import FTP ftpObject = FTP()

ftpObject.connect(host='tgftp.nws.noaa.gov')

The final line returns the error: ConnectionRefuseeddError: [Errno 111] Connection refused

@AKjohn If you would like the above domain to be considered for the whitelist , please send us a link to the API documentation. Please note we can only whitelist sites with an official public API.

Hi,

I'm not exactly sure of the API. I am using AWS SDK for Python (Boto3) to create a Lambda function that retrieves files from an FTP site: https://aws.amazon.com/sdk-for-python/

Thanks, John

It's about tgftp.nws.noaa.gov not AWS.