0 votes

I have my SMTP server setup as "smtp.domain.com", but recently I have been getting this error:

Limilabs.Client.ServerException: No connection could be made because the target machine actively refused it 127.0.0.1:587 ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:587

I haven't made any changes, so I think it is a server related issue, but don't know why. If I put in the actual IP address of the SMTP server, it works.

by

1 Answer

0 votes

My gut feeling is that the Antivirus Software may be causing this,
particularly since the SMTP server's actual IP address works correctly while the hostname does not.

Some antivirus/security software can intercept or proxy SMTP traffic, which could explain this behavior.

Disable the antivirus/email scanning feature temporarily and test the connection again.

It would also be worth checking the DNS resolution for smtp.domain.com to make sure it is resolving to the expected server IP address.

by (305k points)
...