java.io.IOException: Port not bound (found port -1). Is there an enabled firewall?

Appcelerator JIRA | Sean Ross-Ross | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Pydev stopped working after I updated today (osx). I can not get it to define any of the builtins. I re-downloaded aptana and created a new workspace and get the same issues. Also, I can never exit Aptana, I always have to force quit. I checked the log and I get this: {quote} java.io.IOException: Port not bound (found port -1). Is there an enabled firewall? at org.python.pydev.shared_core.net.SocketUtil.checkValidPort(SocketUtil.java:69) at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:440) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:322) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:255) at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:150) at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:125) at org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:298) at org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:1) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getBuiltinMod(AbstractInterpreterManager.java:138) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getBuiltinCompletions(AbstractInterpreterManager.java:114) at org.python.pydev.plugin.nature.PythonNature.getBuiltinCompletions(PythonNature.java:1030) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinComps(AbstractASTManager.java:975) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinCompletions(AbstractASTManager.java:961) at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.<init>(AbstractScopeAnalyzerVisitor.java:150) at com.python.pydev.analysis.visitors.OccurrencesVisitor.<init>(OccurrencesVisitor.java:90) at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:40) at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:234) at com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:152) at org.python.pydev.core.concurrency.RunnableAsJobsPoolThread$1.run(RunnableAsJobsPoolThread.java:102) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) {quote}

    Appcelerator JIRA | 3 years ago | Sean Ross-Ross
    java.io.IOException: Port not bound (found port -1). Is there an enabled firewall?
  2. 0

    Pydev stopped working after I updated today (osx). I can not get it to define any of the builtins. I re-downloaded aptana and created a new workspace and get the same issues. Also, I can never exit Aptana, I always have to force quit. I checked the log and I get this: {quote} java.io.IOException: Port not bound (found port -1). Is there an enabled firewall? at org.python.pydev.shared_core.net.SocketUtil.checkValidPort(SocketUtil.java:69) at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:440) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:322) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:255) at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:150) at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:125) at org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:298) at org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:1) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getBuiltinMod(AbstractInterpreterManager.java:138) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getBuiltinCompletions(AbstractInterpreterManager.java:114) at org.python.pydev.plugin.nature.PythonNature.getBuiltinCompletions(PythonNature.java:1030) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinComps(AbstractASTManager.java:975) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinCompletions(AbstractASTManager.java:961) at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.<init>(AbstractScopeAnalyzerVisitor.java:150) at com.python.pydev.analysis.visitors.OccurrencesVisitor.<init>(OccurrencesVisitor.java:90) at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:40) at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:234) at com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:152) at org.python.pydev.core.concurrency.RunnableAsJobsPoolThread$1.run(RunnableAsJobsPoolThread.java:102) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) {quote}

    Appcelerator JIRA | 3 years ago | Sean Ross-Ross
    java.io.IOException: Port not bound (found port -1). Is there an enabled firewall?

    Root Cause Analysis

    1. java.io.IOException

      Port not bound (found port -1). Is there an enabled firewall?

      at org.python.pydev.shared_core.net.SocketUtil.checkValidPort()
    2. org.python.pydev
      AbstractASTManager.getBuiltinCompletions
      1. org.python.pydev.shared_core.net.SocketUtil.checkValidPort(SocketUtil.java:69)
      2. org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:440)
      3. org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:322)
      4. org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:255)
      5. org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:150)
      6. org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:125)
      7. org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:298)
      8. org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:1)
      9. org.python.pydev.ui.interpreters.AbstractInterpreterManager.getBuiltinMod(AbstractInterpreterManager.java:138)
      10. org.python.pydev.ui.interpreters.AbstractInterpreterManager.getBuiltinCompletions(AbstractInterpreterManager.java:114)
      11. org.python.pydev.plugin.nature.PythonNature.getBuiltinCompletions(PythonNature.java:1030)
      12. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinComps(AbstractASTManager.java:975)
      13. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinCompletions(AbstractASTManager.java:961)
      13 frames
    3. com.python.pydev
      AbstractAnalysisBuilderRunnable.run
      1. com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.<init>(AbstractScopeAnalyzerVisitor.java:150)
      2. com.python.pydev.analysis.visitors.OccurrencesVisitor.<init>(OccurrencesVisitor.java:90)
      3. com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:40)
      4. com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:234)
      5. com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:152)
      5 frames
    4. org.python.pydev
      RunnableAsJobsPoolThread$1.run
      1. org.python.pydev.core.concurrency.RunnableAsJobsPoolThread$1.run(RunnableAsJobsPoolThread.java:102)
      1 frame
    5. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame