SMTP error - stream_socket_client()

[+] I have read intro post: About the Installation Issues category
[+] I have read the tutorials, help and searched for similar issues
[+] I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
[+] I describe the steps I have taken to trouble shoot the problem
[+] I describe the steps on how to reproduce the issue

Hello, I (think that I) successfully installed passbolt on debian 12.
While I was at smtp configuration step there was a problem. I entered all of the informations about server and account, but when trying to sent a test email problem appeared:

Email could not be sent: stream_socket_client(): Unable to connect to tcp:// (Connection refused)

I am attaching screenshot of the screen with this problem. Hope to get help from you :wink:

hey @mgorzkowski welcome to the forum!

For this issue are you running your own SMTP server or connecting to a service like o365/gmail?