java.lang.RuntimeException

Unable to find an unused local port (is your firewall enabled?) \[host:127.0.0.1 from:50000 to:55000\]

Solutions on the web47219

  • Unable to find an unused local port (is your firewall enabled?) \[host:127.0.0.1 from:50000 to:55000\]
  • Unable to find an unused local port (is your firewall enabled?) \[host:127.0.0.1 from:50000 to:55000\]
  • the given port on the local machine.  Port     number 0 can be used to get an arbitrary unused port. pydoc3 -b     Start an HTTP server on an arbitrary unused port and open a Web browser     to interactively browse documentation.  The -p
  • Stack trace

    • java.lang.RuntimeException: Unable to find an unused local port (is your firewall enabled?) \[host:127.0.0.1 from:50000 to:55000\] at org.python.pydev.plugin.SocketUtil.findUnusedLocalPort(SocketUtil.java:51) at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:341) at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:312) at org.python.pydev.editor.codecompletion.shell.AbstractShell.restartShell(AbstractShell.java:835) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getTheCompletions(AbstractShell.java:812) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getImportCompletions(AbstractShell.java:751) at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.getGlobalTokens(CompiledModule.java:240) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.internalGenerateGetCompletionsForModule(AbstractASTManager.java:552) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:427) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:401) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:393) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.internalGenerateGetCompletionsForModule(AbstractASTManager.java:560) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:427) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:401) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:393) at org.python.pydev.editor.codecompletion.revisited.modules.SourceModule.getClassToks(SourceModule.java:503) at org.python.pydev.editor.codecompletion.revisited.AssignAnalysis.addNonFunctionDefCompletionsFromAssign(AssignAnalysis.java:135) at org.python.pydev.editor.codecompletion.revisited.AssignAnalysis.getAssignCompletions(AssignAnalysis.java:65) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.internalGenerateGetCompletionsForModule(AbstractASTManager.java:596) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:427) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:401) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:393) at org.python.pydev.editor.codecompletion.revisited.modules.SourceModule.getClassToks(SourceModule.java:503) at org.python.pydev.editor.codecompletion.revisited.modules.SourceModule.getGlobalTokens(SourceModule.java:438) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.internalGenerateGetCompletionsForModule(AbstractASTManager.java:552) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:427) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:401) at org.python.pydev.editor.codecompletion.revisited.modules.AbstractModule.internalGenerateCachedTokens(AbstractModule.java:174) at org.python.pydev.editor.codecompletion.revisited.modules.AbstractModule.isInGlobalTokens(AbstractModule.java:133) at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.markRead(AbstractScopeAnalyzerVisitor.java:865) at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.visitAttribute(AbstractScopeAnalyzerVisitor.java:444) at org.python.pydev.parser.jython.ast.Attribute.accept(Attribute.java:48) at org.python.pydev.parser.jython.ast.Call.traverse(Call.java:65) at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.traverse(AbstractScopeAnalyzerVisitor.java:164) at com.python.pydev.analysis.visitors.OccurrencesVisitor.traverse(OccurrencesVisitor.java:215) at org.python.pydev.parser.jython.ast.VisitorBase.visitCall(VisitorBase.java:236) at com.python.pydev.analysis.visitors.OccurrencesVisitor.visitCall(OccurrencesVisitor.java:194) at org.python.pydev.parser.jython.ast.Call.accept(Call.java:60) at org.python.pydev.parser.jython.ast.Dict.traverse(Dict.java:53) at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.traverse(AbstractScopeAnalyzerVisitor.java:164) at com.python.pydev.analysis.visitors.OccurrencesVisitor.traverse(OccurrencesVisitor.java:215) at org.python.pydev.parser.jython.ast.VisitorBase.visitDict(VisitorBase.java:206) at org.python.pydev.parser.jython.ast.Dict.accept(Dict.java:40) at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.visitAssign(AbstractScopeAnalyzerVisitor.java:561) at com.python.pydev.analysis.visitors.OccurrencesVisitor.visitAssign(OccurrencesVisitor.java:170) at org.python.pydev.parser.jython.ast.Assign.accept(Assign.java:40) at org.python.pydev.parser.jython.ast.Module.traverse(Module.java:41) at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.traverse(AbstractScopeAnalyzerVisitor.java:164) at com.python.pydev.analysis.visitors.OccurrencesVisitor.traverse(OccurrencesVisitor.java:215) at org.python.pydev.parser.jython.ast.VisitorBase.visitModule(VisitorBase.java:8) at org.python.pydev.parser.jython.ast.Module.accept(Module.java:34) at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:47) at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:37) at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:191) at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.run(AnalysisBuilderRunnable.java:133) at com.python.pydev.analysis.builder.AnalysisBuilderVisitor$1.run(AnalysisBuilderVisitor.java:103) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Write tip

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

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.