Exception opening socket

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 web88

  • via GitHub by shilpsl1
    , 6 months ago
    Exception opening socket
  • via JIRA by Attila Tőkés, 1 year ago
    Exception opening socket
  • via JIRA by Junwei Zhuge, 1 year ago
    Exception opening socket
  • Stack trace

    • com.mongodb.MongoSocketOpenException: Exception opening socket at[graylog.jar:?] at[graylog.jar:?] at com.mongodb.connection.DefaultServerMonitor$[graylog.jar:?] at[?:1.8.0_101] Caused by: Connection refused at Method)[?:1.8.0_101] at[?:1.8.0_101] at[?:1.8.0_101] at[?:1.8.0_101] at[?:1.8.0_101] at[?:1.8.0_101] at com.mongodb.connection.SocketStreamHelper.initialize([graylog.jar:?] at[graylog.jar:?] ... 3 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

    5 times, 7 months ago
    Unknown user
    Once, 1 year ago
    17 times, 1 week ago
    2 times, 1 week ago
    11 times, 2 weeks ago
    485 more bugmates