gives me the following error
No connection could be made because the target machine actively refused it 127.0.0.1:3446
regards
Anwar
4 Answer(s)
-
0
Hi,
Can you try to restart IIS and publish again ?
-
0
-
0
something to do with smtp configuration
[WebException: Unable to connect to the remote server] System.Net.Mail.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) +2394490 System.Net.Mail.SmtpTransport.EndGetConnection(IAsyncResult result) +29 System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) +51
-
0
Hi,
I got it wrong sorry. This is a different problem and not related to IIS.
Are you trying to send email when Account/Register action is visited ? It seems like app is trying to send email and there is no smtp server on 127.0.0.1:25 or if there is, port 25 is not open.