java.net.ConnectException: Connection timed out: connect

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • == Class Attribute Content Assist no response. == 1. create blank Spring project 2. create blank ''applicationContext.xml'' 3. write quotation and ''"class="j"'' then press Ctrl + space. {code} <?xml version="1.0" encoding="UTF-8"?> <beans ...> <bean id="id" class="j"></bean> </beans> {code} 4. eclipse no response... == environment == * Eclipse Platform * Version: 3.3.0 * Build id: I20070621-1340 * SpringIDE trunk: HEAD(2007/07/03) * Internet Access via Proxy Server == stacktrace == {code} Java Model Exception: Java Model Status [jar_de [in jar_de.class [in sun.tools.jar.resources [in C:\Program Files\Java\jdk1.5.0_11\jre\lib\rt.jar]]]java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.http.HttpClient.New(HttpClient.java:316) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938) at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:734) at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1086) at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:998) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getHTMLContentReader(ProposalInfo.java:112) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:99) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:76) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:59) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:440) at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.getAdditionalProposalInfo(LazyJavaCompletionProposal.java:236) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.processJavaCompletionProposal(BeansJavaCompletionUtils.java:128) (snip..) {code} == workaround == [source:/trunk/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java@latest#L126 souce code point] {code} Index: C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java =================================================================== --- C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java (revision 2203) +++ C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java (working copy) @@ -123,8 +123,7 @@ .getReplacementBeginPosition(), request .getReplacementLength(), prop .getQualifiedTypeName().length(), prop.getImage(), - prop.getDisplayString(), null, prop - .getAdditionalProposalInfo(), prop.getRelevance(), + prop.getDisplayString(), null, null, prop.getRelevance(), prop.getJavaElement()); request.addProposal(proposal); {code} Do you have a better solution to solve this problem?
    via by Imported,
  • == Class Attribute Content Assist no response. == 1. create blank Spring project 2. create blank ''applicationContext.xml'' 3. write quotation and ''"class="j"'' then press Ctrl + space. {code} <?xml version="1.0" encoding="UTF-8"?> <beans ...> <bean id="id" class="j"></bean> </beans> {code} 4. eclipse no response... == environment == * Eclipse Platform * Version: 3.3.0 * Build id: I20070621-1340 * SpringIDE trunk: HEAD(2007/07/03) * Internet Access via Proxy Server == stacktrace == {code} Java Model Exception: Java Model Status [jar_de [in jar_de.class [in sun.tools.jar.resources [in C:\Program Files\Java\jdk1.5.0_11\jre\lib\rt.jar]]]java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.http.HttpClient.New(HttpClient.java:316) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938) at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:734) at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1086) at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:998) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getHTMLContentReader(ProposalInfo.java:112) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:99) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:76) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:59) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:440) at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.getAdditionalProposalInfo(LazyJavaCompletionProposal.java:236) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.processJavaCompletionProposal(BeansJavaCompletionUtils.java:128) (snip..) {code} == workaround == [source:/trunk/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java@latest#L126 souce code point] {code} Index: C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java =================================================================== --- C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java (revision 2203) +++ C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java (working copy) @@ -123,8 +123,7 @@ .getReplacementBeginPosition(), request .getReplacementLength(), prop .getQualifiedTypeName().length(), prop.getImage(), - prop.getDisplayString(), null, prop - .getAdditionalProposalInfo(), prop.getRelevance(), + prop.getDisplayString(), null, null, prop.getRelevance(), prop.getJavaElement()); request.addProposal(proposal); {code} Do you have a better solution to solve this problem?
    via by Imported,
  • Javadoc exceptions
    via by eclipse,
  • How to access javadoc from eclipse?
    via by akash kumar,
  • Timeout while deploying
    via by Joakim S?derstr?m,
  • Re: [testng-users] couldn't find in classpath
    via by Jesse Kuhnert,
  • Validator error . . .
    via by Claire,
    • java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.http.HttpClient.New(HttpClient.java:316) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938) at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:734) at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1086) at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:998) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getHTMLContentReader(ProposalInfo.java:112) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:99) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:76) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:59) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:440) at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.getAdditionalProposalInfo(LazyJavaCompletionProposal.java:236) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.processJavaCompletionProposal(BeansJavaCompletionUtils.java:128)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Hronom
    Hronom9 times, last one,
    regisso
    regisso3 times, last one,
    275 more bugmates