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

  • Thread starter Thread starter MajorTom
  • Start date Start date
M

MajorTom

Hello, I getting this error

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

here:
TcpClient smtpSocket = new TcpClient(_serverSmtp, _portSmtp)

port = 25 (smtp server)
and my smtp server is working fine from the outlook program

any help ? please

TIA
 
This is a somewhat generic error message with connectivity issues. Try to
connect to the server via Telnet to verify you can get to the port outside
of your application. 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.

Thanks,

Sam

--
_______________________________
Sam Santiago
(e-mail address removed)
http://www.SoftiTechture.com
_______________________________
 
Thanks Sam

1.- whow do i check from telnet the port ?
(get to the port outside of your application)

2.- my Outlook does not have the check for the SMTP server requires
authentication
the server name is mail.verizon.net.do
and I get the error at the:
smtpSocket.Connect(_serverSmtp, _portSmtp);
only when try to open de connection
for that reason I think the problems is not with the autenthication ?

3.- No proxy

4.- No firewall, using W server 2003 ?

Thanks very much Sam

I still waiting for help

MajorTom
 
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.

Regards,
Alvaro
 
Thanks Alvaro

I get the server error, Could not open connection to the host...
Now I know its'nt code problem, but I using this SMTP server regulary from
outlook without problems
At the outlook configuration it use the standar port, and not authentication
mode

The only abnormal thing "for me" is if I send a ping to mail.verizon.net.do
it resolve to 196.3.81.55 but get Request timed out, is that correct ?

Please, any thing more I can do ?

TIA
MajorTom
 
You can contact your ISP, Verizon, and ask them what you need to do to
connect to your mail server. I'm still guessing it's an authentication
issue. I don't think Verizon would allow anonymous access to their servers.
This link seems to indicate authentication is enabled, but I'm not sure
where you're connecting from:
http://www2.verizon.net/help/dsl/?case=5824

Thanks,

Sam

--
_______________________________
Sam Santiago
(e-mail address removed)
http://www.SoftiTechture.com
_______________________________
 
Thank Sam, I will do that...

MajorTom

Sam Santiago said:
You can contact your ISP, Verizon, and ask them what you need to do to
connect to your mail server. I'm still guessing it's an authentication
issue. I don't think Verizon would allow anonymous access to their servers.
This link seems to indicate authentication is enabled, but I'm not sure
where you're connecting from:
http://www2.verizon.net/help/dsl/?case=5824

Thanks,

Sam

--
_______________________________
Sam Santiago
(e-mail address removed)
http://www.SoftiTechture.com
_______________________________
 
Back
Top