could not connect to smtp:localhost port:25
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jahnavi_M
Posted On:   Thursday, July 10, 2008 03:05 AM

Hi all,
I am trying to do java mail application.But whatever code i am deploying/executing its showing exception like

could not connect to smtp host:192.168.1.2" port:25
nested exception is:java.net.ConnectionException: Connection refused:connection

Here i am using amtp server with ip addresss 192.168.1.2

I search in google also but couldnt fnd correct answer.Please help me..

Re: could not connect to smtp:localhost port:25

Posted By:   Robert_Lybarger  
Posted On:   Thursday, July 10, 2008 09:16 AM

That address is inside your own private network. Do you have your own mail server running? (If you don't... that'd be your problem. If you do, it isn't allowing connections, or a firewall of some sort is in the way.)
About | Sitemap | Contact