java.io.IOException: Could not start process: failed errno:98 Address already in use for socket: 0.0.0.0:60721 2015-11-23T16:23:01.782+0100 E NETWORK [initandlisten] addr already in use

GitHub | aveuiller | 1 year ago
  1. 0

    Mongo process randomly fail to start

    GitHub | 1 year ago | aveuiller
    java.io.IOException: Could not start process: failed errno:98 Address already in use for socket: 0.0.0.0:60721 2015-11-23T16:23:01.782+0100 E NETWORK [initandlisten] addr already in use
  2. 0

    MongoDB tests : conflict port if mongodb instance is running

    GitHub | 1 year ago | pascalgrimaud
    java.io.IOException: Could not start process: ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:27017 2015-10-25T15:52:46.229+0100 [initandlisten] ERROR: addr already in use 2015-10-25T15:52:46.230+0100 [initandlisten] allocating new ns file /tmp/embedmongo-db-29bdd479-f209-452f-88ad-d440fcaaf2fb/local.ns, filling with zeroes...
  3. 0

    Mongodb connection issue

    GitHub | 1 year ago | arushijain45
    java.io.IOException: Could not start process: ERROR: listen(): bind() failed errno:10048 Only one usage of each socket address (protocol/network address/port) is normally permitted. for socket: 0.0.0.0:27017
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2398#161100320

    GitHub | 1 year ago | arushijain45
    java.io.IOException: Could not start process: ERROR: listen(): bind() failed errno:10048 Only one usage of each socket address (protocol/network address/port) is normally permitt
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Could not start process: failed errno:98 Address already in use for socket: 0.0.0.0:60721 2015-11-23T16:23:01.782+0100 E NETWORK [initandlisten] addr already in use

    at de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart()
  2. Flapdoodle Embedded MongoDB
    AbstractMongoProcess.onAfterProcessStart
    1. de.flapdoodle.embed.mongo.AbstractMongoProcess.onAfterProcessStart(AbstractMongoProcess.java:79)[de.flapdoodle.embed.mongo-1.50.0.jar:na]
    1 frame
  3. Flapdoodle Embedded Process Util
    AbstractProcess.<init>
    1. de.flapdoodle.embed.process.runtime.AbstractProcess.<init>(AbstractProcess.java:114)[de.flapdoodle.embed.process-1.50.0.jar:na]
    1 frame
  4. Flapdoodle Embedded MongoDB
    MongodExecutable.start
    1. de.flapdoodle.embed.mongo.AbstractMongoProcess.<init>(AbstractMongoProcess.java:53)[de.flapdoodle.embed.mongo-1.50.0.jar:na]
    2. de.flapdoodle.embed.mongo.MongodProcess.<init>(MongodProcess.java:50)[de.flapdoodle.embed.mongo-1.50.0.jar:na]
    3. de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:44)[de.flapdoodle.embed.mongo-1.50.0.jar:na]
    4. de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:34)[de.flapdoodle.embed.mongo-1.50.0.jar:na]
    4 frames
  5. Flapdoodle Embedded Process Util
    Executable.start
    1. de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101)[de.flapdoodle.embed.process-1.50.0.jar:na]
    1 frame
  6. testHelpers
    WithInitBackend.around
    1. testHelpers.WithInitBackend.before(WithInitBackend.scala:43)[it-classes/:na]
    2. testHelpers.WithInitBackend.around(WithInitBackend.scala:54)[it-classes/:na]
    2 frames
  7. specs2-core
    Around$$anonfun$delayedInit$1.apply
    1. org.specs2.mutable.Around$$anonfun$delayedInit$1.apply(Around.scala:15)[specs2-core_2.11-3.6.jar:3.6]
    1 frame