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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via pydev by nobody
, 1 year ago
Unable to find an unused local port (is your firewall enabled?) \[host:127.0.0.1 from:50000 to:55000\]
via pydev by clinuxsir
, 1 year ago
Unable to find an unused local port (is your firewall enabled?) \[host:127.0.0.1 from:50000 to:55000\]
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.