Control Web Panel

WebPanel => E-Mail => Topic started by: anandmys on May 17, 2021, 02:04:08 PM

Title: SMTP ERROR: Failed to connect to server: Connection refused (111)
Post by: anandmys on May 17, 2021, 02:04:08 PM
I have 2 cwp servers.

I have email created in 1 server.

phpmailer code works fine

When I use the same code in my second server and try to connect to smtp of 1st server, I get

Quote
SMTP ERROR: Failed to connect to server: Connection refused (111)

I have tried ssl with 465 and tls with 465

I have tried my hostname as well as domain name as server address

I have opened both 465 and 587 in incoming as well as outgoing TCP ports

What am I missing?