[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

emailworm

Posted on 2009-12-30
1
Medium Priority
?
205 Views
Last Modified: 2013-12-14
i have this error like Exception in thread "main" javax.mail.MessagingException: Connect failed;nested exception is: java.net.ConnectException: Connection refused: connect.
pls,provide the solution for this problem.

MainClass.java
0
Comment
Question by:sunda2010
1 Comment
 
LVL 40

Accepted Solution

by:
Gurvinder Pal Singh earned 500 total points
ID: 26151790
what is the port number you are connecting to?
is your server accepting the connections on that port?

Check you anti-virus software setup. Chances are that the software is configured to bolck the port that your email server is listening.

http://www.hiteksoftware.com/knowledge/articles/006.htm
http://forums.sun.com/thread.jspa?threadID=590866
http://www.osix.net/modules/article/?id=39
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month20 days, 4 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question