首页 > 其他分享 >An established connection was aborted by the software in your host machine

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

时间:2023-11-09 12:34:49浏览次数:32  
标签:established exe get port machine host problem server your

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 should 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 could 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 scanner 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 would 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 VS.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



标签:established,exe,get,port,machine,host,problem,server,your
From: https://blog.51cto.com/emanlee/8276043

相关文章

  • SQL Server Hosting Toolkit
    TheDatabasePublishingWizardenablesthedeploymentofSQLServer2005databases(bothschemaanddata)intoasharedhostingenvironmentoneitheraSQLServer2000or2005server.Thetoolsupportstwomodesofdeployment:ItgeneratesasingleSQLsc......
  • 【Microsoft Azure 的1024种玩法】七十四.五分钟在Azure Virtual Machines中快速部署
    【简介】ApacheMaven由Apache软件基金会所提供的一个软件项目管理及自动构建工具,Maven为开发者提供了一套完整的构建生命周期框架。开发团队几乎不用花多少时间就能够自动完成工程的基础构建配置,因为Maven使用了一个标准的目录结构和一个默认的构建生命周期,Maven能够在很短......
  • Spring Kafka: UnknownHostException: 34bcfcc207e0
    参考:https://stackoverflow.com/questions/69527813/spring-kafka-unknownhostexception-34bcfcc207e0我遇到的问题和@AdánEscobar是一样的。在SpringBoot整合kafka的时候日志报了SpringKafka:UnknownHostException:34bcfcc207e0,34bcfcc207e0经过排查是容器的ID。解决......
  • HarmonyOS NEXT调优工具Smart Perf Host高效使用指南
     在软件开发的过程中,很多开发者都经常会遇到一些性能问题,比如应用启动慢、点击滑动卡顿、应用后台被杀等,想要解决这些问题势必需要收集大量系统数据。而在收集数据的过程中,开发者则需要在各种工具和命令之间来回切换,不但容易错过问题发生时间点,数据收集完如何能将信息有效结合......
  • 支持向量机(Support Vector Machine,SVM)
    支持向量机(SupportVectorMachine,SVM)是CorinnaCortes和Vapnik8等于1995年首先提出的,它在解决小样本、非线性及高维模式识别中表现出许多特有的优势,并能够推广应用到函数拟合等其他机器学习问题中。所谓支持向量是指那些在间隔区边缘的训练样本点。这里的“机(machine,机器)”实......
  • http://localhost:xxxxx/sockjs-node/info?t=1699323049868
    http://localhost:xxxxx/sockjs-node/info?t=1699323049868 sockjs-node是一个JavaScript库,提供跨浏览器JavaScript的API,创建了一个低延迟、全双工的浏览器和web服务器之间通信通道。解决办法: 配置devServer,然后重启项目1.在vue.config.js中找到devServer中加入 host:'l......
  • 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程
    报错:1130-host...isnotallowedtoconnecttothisMySqlserver开放mysql远程连接不使用localhost解决方法:1。改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改"mysql"数据库里的"user"表里的"host"项,从"......
  • ERROR 1044 (42000) ERROR 1142 (42000): SELECT command denied to user ''@'localho
    ERROR:Accessdeniedforuser'root'@'localhost'(usingpassword:NO)   发现:   mysql-uroot@localhost-p成功   mysql-uroot-p失败   mysql>SELECTuser,hostFROMmysql.user;   ERROR1142(42000):SELECTcommanddeniedtouser&......
  • 异常Couldn’t connect to host, port: smtp.qq.com, 25
    com.sun.mail.util.MailConnectException:Couldn’tconnecttohost,port:smtp.qq.com,25;timeout-1阿里云处于安全考虑,TCP25端口默认被封禁。可以向阿里云申请解封,也可以改为ssl加密465端口发送。465端口发送主要代码:Propertiesprops=newProperties();props.......
  • GhostXPS转PDF后续
    GhostXPS转PDF目录GhostXPS转PDFQ&A相关推荐记录使用GhostXPS转PDF过程中碰到的一些问题。Q&A之前有分享过Xps转PDF的文章,其中通过GhostXPS转PDF时存在如下问题:通过虚拟打印机生成Xps文件时,如果Xps中有非PNG图片那么转换是不会报错的但是图片会丢失。注意:上图中Xps文件......