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.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via Oracle Community by Ankur ..., 1 year ago
Error connecting to OPMN at host localhost and port 6700(is it running?): Connection refused
via Oracle Community by 966473, 1 year ago
Error connecting to OPMN at host localhost and port 6721(is it running?): Connection refused [starter]
via Oracle Community by maniku, 1 year ago
Error connecting to OPMN at localhost:6711 -- Connection refused [starter]
java.net.ConnectException: Connection refused	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.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:525)	at oracle.as.management.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:739)	at oracle.as.management.opmn.optic.OpmnPhone.getSocketForCall(OpmnPhone.java:455)	at oracle.as.management.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:315)	at oracle.as.management.opmn.optic.OpmnPhone.request(OpmnPhone.java:270)	at oracle.as.management.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:482)	at oracle.disco.diagnostics.OPMNHelper.checkSession(Unknown Source)	at oracle.disco.diagnostics.Diagnostics.bindToServer(Unknown Source)	at oracle.disco.diagnostics.Diagnostics.checkOPMN(Unknown Source)	at oracle.disco.diagnostics.Diagnostics.checkDiscoverer(Unknown Source)	at oracle.disco.diagnostics.Diagnostics.main(Unknown Source)