oracle.as.management.opmn.optic.OpticBadConnectException

Error connecting to OPMN at host localhost and port 6700(is it running?): Connection refused

Samebug tips9

Check if your MongoDB is available.


host port isnt set

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web27

  • via Oracle Community by Ankur ..., 11 months ago
    Error connecting to OPMN at host localhost and port 6700(is it running?): Connection refused
  • via Oracle Community by 966473, 11 months ago
    Error connecting to OPMN at host localhost and port 6721(is it running?): Connection refused [starter]
  • via Oracle Community by maniku, 11 months ago
    Error connecting to OPMN at localhost:6711 -- Connection refused [starter]
  • Stack trace

    • oracle.as.management.opmn.optic.OpticBadConnectException: Error connecting to OPMN at host localhost and port 6700(is it running?): Connection refused at oracle.as.management.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:746) 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.as.management.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:602) at oracle.as.management.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:750) at oracle.disco.diagnostics.OPMNHelper._checkProcess(Unknown Source) at oracle.disco.diagnostics.OPMNHelper.checkPreference(Unknown Source) at oracle.disco.diagnostics.Diagnostics.checkPreference(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) Caused by: 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) ... 12 more

    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

    2 times, 5 hours ago
    13 times, 5 days ago
    39 times, 1 week ago
    Once, 3 weeks ago
    13 times, 3 weeks ago
    483 more bugmates