Click here to Skip to main content
15,905,420 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi this is vijayadurga,while sending mail using SMTP.I got error.the error is No connection could be made because the target machine actively refused it,how to solve this problem
OriginalGriff 30-Jun-12 13:49pm    
Without your code?
How would we know?
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.

1 solution

This means the machine you are trying to connect is there but it can't accept your connection. May be you are trying to connect to an invalid port. Check the port number. And check the firewall settings as well.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900