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

Samebug tips

  1. ,

    Check if your MongoDB is available.

Solutions on the web

via GitHub by benoitgaudou
, 3 months ago
Connection refused (Connection refused)
via Stack Overflow by Mandeep Singh
, 1 year ago
via Stack Overflow by bwillemo
, 10 months ago
Connection refused (Connection refused)
via GitHub by korniltsev
, 1 year ago
java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at ummisco.gama.network.tcp.TCPConnector.connectToServerSocket(TCPConnector.java:79) at ummisco.gama.network.tcp.TCPConnector.connectToServer(TCPConnector.java:98) at ummisco.gama.network.common.Connector.connect(Connector.java:182) at ummisco.gama.network.skills.NetworkSkill.connectToServer(NetworkSkill.java:149) at gaml.additions.GamlAdditions$4.run(GamlAdditions.java:86) at msi.gaml.statements.PrimitiveStatement.privateExecuteIn(PrimitiveStatement.java:91) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.statements.DoStatement.privateExecuteIn(DoStatement.java:249) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.statements.AbstractStatementSequence.privateExecuteIn(AbstractStatementSequence.java:57) at msi.gaml.statements.IfStatement.privateExecuteIn(IfStatement.java:136) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.statements.AbstractStatementSequence.privateExecuteIn(AbstractStatementSequence.java:57) at msi.gaml.architecture.reflex.ReflexStatement.privateExecuteIn(ReflexStatement.java:80) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.architecture.reflex.ReflexArchitecture.init(ReflexArchitecture.java:112) at msi.gama.metamodel.agent.AbstractAgent.init(AbstractAgent.java:238) at msi.gama.metamodel.agent.MinimalAgent._init_(MinimalAgent.java:242) at msi.gama.kernel.simulation.SimulationAgent._init_(SimulationAgent.java:293) at msi.gama.metamodel.agent.MinimalAgent.init(MinimalAgent.java:206) at msi.gama.runtime.ExecutionScope.lambda$3(ExecutionScope.java:435) at msi.gama.runtime.ExecutionScope.runAndCatch(ExecutionScope.java:459) at msi.gama.runtime.ExecutionScope.pushRunAndCatch(ExecutionScope.java:450) at msi.gama.runtime.ExecutionScope.init(ExecutionScope.java:435) at msi.gama.metamodel.agent.AbstractAgent.schedule(AbstractAgent.java:357) at msi.gama.kernel.simulation.SimulationAgent.schedule(SimulationAgent.java:270) at msi.gama.kernel.simulation.SimulationPopulation.initSimulation(SimulationPopulation.java:112) at msi.gama.kernel.simulation.SimulationPopulation.createAgents(SimulationPopulation.java:92) at msi.gama.kernel.experiment.ExperimentAgent.createSimulation(ExperimentAgent.java:286) at msi.gama.kernel.experiment.ExperimentAgent._init_(ExperimentAgent.java:241) at msi.gama.metamodel.agent.MinimalAgent.init(MinimalAgent.java:206) at msi.gama.kernel.experiment.ExperimentAgent.init(ExperimentAgent.java:253) at msi.gama.runtime.ExecutionScope.lambda$3(ExecutionScope.java:435) at msi.gama.runtime.ExecutionScope.runAndCatch(ExecutionScope.java:459) at msi.gama.runtime.ExecutionScope.pushRunAndCatch(ExecutionScope.java:450) at msi.gama.runtime.ExecutionScope.init(ExecutionScope.java:435) at msi.gama.kernel.experiment.ExperimentScheduler.schedule(ExperimentScheduler.java:161) at msi.gama.kernel.experiment.ExperimentAgent.schedule(ExperimentAgent.java:306) at msi.gama.kernel.experiment.ExperimentPlan.open(ExperimentPlan.java:476) at msi.gama.kernel.experiment.ExperimentController.lambda$0(ExperimentController.java:90) at java.lang.Thread.run(Thread.java:748)