Amazon SES service SMTP

Sending Email from AWS using pythonanywhere I am trying to send emails from my pythonanywhere account using Amazon SES service. The code runs fine on my local machine. The error I got following error occurs:

ConnectionRefusedError: [Errno 111] Connection refused.

I guess it's about the port issues (port: 587). Any hints that coud help?

That would not work on free account.