Base solution for your next web application
Open Closed

deployment error on iis #2326


User avatar
0
avanekar02 created

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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you try to restart IIS and publish again ?

  • User Avatar
    0
    avanekar02 created

    still same problem

  • User Avatar
    0
    avanekar02 created

    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

  • User Avatar
    0
    ismcagdas created
    Support Team

    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.