Connection Refused - Sendgrid Problems

Your software
My Mautic version is: v5.1.1
My PHP version is: 8.1.30
My Database type and version is: sql?

Your problem
My problem is: I had Mautic upgrade from 3.31 to the latest version 5.1.1. I am trying to connect to my Sendgrid account, entered the SMTP info, but keep getting Connection


Refused errors

These errors are showing in the log:

Steps I have tried to fix the problem: I have used ports 25, 587
(for unencrypted/TLS connections)
as well as: 465

Updated Screen shot - these are my latest settings. Any help would be greatly appreciated.

You did enter your proper credentials, right?

Yes, I updated the Screen shot. The credentials are correct. Thank you for asking. Any ideas?