Connection refused means that the connection from the CF server to the mail 
server is either blocked by a firewall, you entered the wrong IP address of the 
mail server, or the mail server is off line.  Open up a command prompt on the 
CF server and type:

telnet <ip address> 25

Do you see the preamble greeting of the mail server?  If not then the 
connection is likely blocked somewhere or the IP address is incorrect.

HTH,

-- 
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Find out how iMS Stacks up to the competition: 
>>> http://www.coolfusion.com/imssecomparison.cfm


--- On Thursday, February 03, 2005 6:12 AM, simmyana a scribed: ---
>
> I tried giving the mail server IP  and I verified connection also. It
> is not giving any error. But when i try to send mail, it is giving
> the following error  
> 
> "Could not connect to SMTP host: localhost, port: 25;   nested
> exception is:  java.net.ConnectException: Connection refused" 
> 
> any idea??
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192879
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to