An established connection was aborted by the software in your host machine

Source: Internet
Author: User

Try to connect to the server via Telnet to verify you can get to the port outside of your application.

Try opening up a command prompt, typing "Telnet", then in Telnet, type the following:
Open <IP or address of Server> 25
This shoshould attempt to open a connection on port 25 (assuming that the server is using a standard SMTP port), if you get a bit of text welcoming you, then the mail server is fine-If on the other hand, you get something like "connection refused", then it's a server problem, rather than a code problem.

Does your SMTP server need authentication? Outlook might connect, But it cocould be using authentication prior to connecting.

 

Also, do you have a proxy or firewall in the picture.

This is bcoz of the antivirus which is blocked by the Windows Firewall,

Just add the antivirus to the Windows Firewall, in Windows Firewall exception tab --> addprogram and select the antivirus which is installed in your system .. this will solve the prob for Asp.net application ..

 

The problem is our virus inserting doing the blocking.
We run McAfee version 8 and so our infrastructure people are looking at the problem now to create a rule to allow SMTP traffic out of developer boxes.

The solution to it is open McAfee VirusScan console. double click access protection, select the first rule corresponding to port 25 (default SMTP port ). double click on it, in the excluded processes list you wocould see that inetinfo.exe is present. this was for iis5.0 and iis5.1, The Asp.net 2.0 worker process runs as w3wp.exe. thus add w3wp.exe to the process list and you should be able to get it running.

If you're running. NET 2005 and your web application is using the ASP. net Development Server (instead of IIS), the process name to add to the excluded processes list is: webdev.webserver.exe.

Thanks for the advice so far, it allowed me to track my similar problem. I checked the McAfee log and found that it was my aspnet_wp.exe process that was being blocked (vs2005 ). I added that to the list and all works

 

Ref:

Http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework.windowsforms/topic4464.aspx

Http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/17e3f2c9-c3f8-4531-b251-11fafe46ec14/

Http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/212feb8f-cf96-4561-9953-40a21d21ea47/

Http://forums.asp.net/t/1209181.aspx

Http://www.isaserver.org/articles/smtprelayinboundoutbound.html

Http://www.zoneedit.com/smtp.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.