title: Trying to connect to Mongo-express with Docker compose
body: <p>im trying to create microservices with Spring Boot, so i prefered to use mongodb as a database for one of my microservices using docker compose :</p>
  <p>here is my docker-compose.yml file content :</p>
  <pre><code>version: &quot;3.8&quot;
  services:
    postgres:
      image: postgres
      container_name: postgres
      restart: always
      ports:
        - &quot;5432:5432&quot;
      networks:
        - postgres
      environment:
        POSTGRES_USER: admin
        POSTGRES_PASSWORD: admin
      volumes:
        - local_pgdata:/var/lib/postgresql/data
    pgadmin:
      image: dpage/pgadmin4
      container_name: pgadmin
      restart: always
      ports:
        - &quot;5050:80&quot;
      networks:
        - postgres
  
      environment:
        PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org}
        PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
      volumes:
        - pgadmin-data:/var/lib/pgadmin
    mongodb:
      image: mongo
      environment:
        MONGO_INITDB_ROOT_USERNAME: root
        MONGO_INITDB_ROOT_PASSWORD: password
      ports:
        - 27017:27017
      volumes:
        - mongodb_data_container:/data/db
  
    mongo-express:
      image: mongo-express
      container_name: mongo-express
      restart: unless-stopped
      ports:
        - 8075:8075
      environment:
        ME_CONFIG_MONGODB_ADMINUSERNAME: root
        ME_CONFIG_MONGODB_ADMINPASSWORD: admin
  
  
  volumes:
    local_pgdata:
    pgadmin-data:
    mongodb_data_container:
  
  
  networks:
    postgres:
     driver: bridge
    mongo-compose-network:
     driver: bridge
  </code></pre>
  <p>Ps: postgres is working as well for the other microservice and here's the logs when i run the command:</p>
  <blockquote>
  <p>docker-compose up --force-recreate</p>
  </blockquote>
  <p>And you can find below the logs for mongo-express :</p>
  <pre><code>mongo-express    | Welcome to mongo-express
  mongo-express    | ------------------------
  mongo-express    |
  mongo-express    |
  mongo-express    | (node:8) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
  mongo-express    | Could not connect to database using connectionString: mongodb://mongo:27017&quot;
  mongo-express    | (node:8) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [mongo:27017] on first connect [Error: getaddrinfo EAI_AGAIN mongo
  mongo-express    |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
  mongo-express    |   name: 'MongoNetworkError'
  mongo-express    | }]
  mongo-express    |     at Pool.&lt;anonymous&gt; (/node_modules/mongodb/lib/core/topologies/server.js:441:11)
  mongo-express    |     at Pool.emit (events.js:314:20)
  mongo-express    |     at /node_modules/mongodb/lib/core/connection/pool.js:564:14
  mongo-express    |     at /node_modules/mongodb/lib/core/connection/pool.js:1000:11
  mongo-express    |     at /node_modules/mongodb/lib/core/connection/connect.js:32:7
  mongo-express    |     at callback (/node_modules/mongodb/lib/core/connection/connect.js:300:5)
  mongo-express    |     at Socket.&lt;anonymous&gt; (/node_modules/mongodb/lib/core/connection/connect.js:330:7)
  mongo-express    |     at Object.onceWrapper (events.js:421:26)
  mongo-express    |     at Socket.emit (events.js:314:20)
  mongo-express    |     at emitErrorNT (internal/streams/destroy.js:92:8)
  mongo-express    |     at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
  mongo-express    |     at processTicksAndRejections (internal/process/task_queues.js:84:21)
  mongo-express    | (node:8) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
  mongo-express    | (node:8) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  </code></pre>
  <p>And the logs for mongodb_1 :</p>
  <pre><code>mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.337+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:4915701, &quot;ctx&quot;:&quot;-&quot;,&quot;msg&quot;:&quot;Initialized wire specification&quot;,&quot;attr&quot;:{&quot;spec&quot;:{&quot;incomingExternalClient&quot;:{&quot;minWireVersion&quot;:0,&quot;maxWireVersion&quot;:13},&quot;incomingInternalClient&quot;:{&quot;minWireVersion&quot;:0,&quot;maxWireVersion&quot;:13},&quot;outgoing&quot;:{&quot;minWireVersion&quot;:0,&quot;maxWireVersion&quot;:13},&quot;isInternalClient&quot;:true}}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.339+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23285,   &quot;ctx&quot;:&quot;-&quot;,&quot;msg&quot;:&quot;Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'&quot;}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.340+00:00&quot;},&quot;s&quot;:&quot;W&quot;,  &quot;c&quot;:&quot;ASIO&quot;,     &quot;id&quot;:22601,   &quot;ctx&quot;:&quot;main&quot;,&quot;msg&quot;:&quot;No TransportLayer configured during NetworkInterface startup&quot;}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.340+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:4648601, &quot;ctx&quot;:&quot;main&quot;,&quot;msg&quot;:&quot;Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize.&quot;}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.342+00:00&quot;},&quot;s&quot;:&quot;W&quot;,  &quot;c&quot;:&quot;ASIO&quot;,     &quot;id&quot;:22601,   &quot;ctx&quot;:&quot;main&quot;,&quot;msg&quot;:&quot;No TransportLayer configured during NetworkInterface startup&quot;}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.342+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:5123008, &quot;ctx&quot;:&quot;main&quot;,&quot;msg&quot;:&quot;Successfully registered PrimaryOnlyService&quot;,&quot;attr&quot;:{&quot;service&quot;:&quot;TenantMigrationDonorService&quot;,&quot;ns&quot;:&quot;config.tenantMigrationDonors&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.342+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:5123008, &quot;ctx&quot;:&quot;main&quot;,&quot;msg&quot;:&quot;Successfully registered PrimaryOnlyService&quot;,&quot;attr&quot;:{&quot;service&quot;:&quot;TenantMigrationRecipientService&quot;,&quot;ns&quot;:&quot;config.tenantMigrationRecipients&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.343+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:5945603, &quot;ctx&quot;:&quot;main&quot;,&quot;msg&quot;:&quot;Multi threading initialized&quot;}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.344+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:4615611, &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;MongoDB starting&quot;,&quot;attr&quot;:{&quot;pid&quot;:1,&quot;port&quot;:27017,&quot;dbPath&quot;:&quot;/data/db&quot;,&quot;architecture&quot;:&quot;64-bit&quot;,&quot;host&quot;:&quot;3e142b62d7d1&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.344+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23403,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Build Info&quot;,&quot;attr&quot;:{&quot;buildInfo&quot;:{&quot;version&quot;:&quot;5.0.8&quot;,&quot;gitVersion&quot;:&quot;c87e1c23421bf79614baf500fda6622bd90f674e&quot;,&quot;openSSLVersion&quot;:&quot;OpenSSL 1.1.1f  31 Mar 2020&quot;,&quot;modules&quot;:[],&quot;allocator&quot;:&quot;tcmalloc&quot;,&quot;environment&quot;:{&quot;distmod&quot;:&quot;ubuntu2004&quot;,&quot;distarch&quot;:&quot;x86_64&quot;,&quot;target_arch&quot;:&quot;x86_64&quot;}}}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.344+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:51765,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Operating System&quot;,&quot;attr&quot;:{&quot;os&quot;:{&quot;name&quot;:&quot;Ubuntu&quot;,&quot;version&quot;:&quot;20.04&quot;}}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.344+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:21951,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Options set by command line&quot;,&quot;attr&quot;:{&quot;options&quot;:{&quot;net&quot;:{&quot;bindIp&quot;:&quot;*&quot;},&quot;security&quot;:{&quot;authorization&quot;:&quot;enabled&quot;}}}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.345+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22270,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Storage engine to use detected by data files&quot;,&quot;attr&quot;:{&quot;dbpath&quot;:&quot;/data/db&quot;,&quot;storageEngine&quot;:&quot;wiredTiger&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.345+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22297,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem&quot;,&quot;tags&quot;:[&quot;startupWarnings&quot;]}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.346+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22315,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Opening WiredTiger&quot;,&quot;attr&quot;:{&quot;config&quot;:&quot;create,cache_size=5817M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.818+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22430,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;[1651278255:818721][1:0x7f61ef315c80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 7 through 8&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.854+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22430,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;[1651278255:854955][1:0x7f61ef315c80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 8 through 8&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:15.942+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22430,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;[1651278255:942093][1:0x7f61ef315c80], txn-recover: [WT_VERB_RECOVERY_ALL] Main recovery loop: starting at 7/5120 to 8/256&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.020+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22430,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;[1651278256:20588][1:0x7f61ef315c80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 7 through 8&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.072+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22430,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;[1651278256:72419][1:0x7f61ef315c80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 8 through 8&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.107+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22430,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;[1651278256:107433][1:0x7f61ef315c80], txn-recover: [WT_VERB_RECOVERY_ALL] Set global recovery timestamp: (0, 0)&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.107+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22430,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;[1651278256:107498][1:0x7f61ef315c80], txn-recover: [WT_VERB_RECOVERY_ALL] Set global oldest timestamp: (0, 0)&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.115+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22430,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger message&quot;,&quot;attr&quot;:{&quot;message&quot;:&quot;[1651278256:115679][1:0x7f61ef315c80], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 73&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.143+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:4795906, &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger opened&quot;,&quot;attr&quot;:{&quot;durationMillis&quot;:797}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.143+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;RECOVERY&quot;, &quot;id&quot;:23987,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger recoveryTimestamp&quot;,&quot;attr&quot;:{&quot;recoveryTimestamp&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:0,&quot;i&quot;:0}}}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.143+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:4366408, &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;No table logging settings modifications are required for existing WiredTiger tables&quot;,&quot;attr&quot;:{&quot;loggingEnabled&quot;:true}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.145+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22262,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Timestamp monitor starting&quot;}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.167+00:00&quot;},&quot;s&quot;:&quot;W&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:22178,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'&quot;,&quot;tags&quot;:[&quot;startupWarnings&quot;]}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.170+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:4915702, &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Updated wire specification&quot;,&quot;attr&quot;:{&quot;oldSpec&quot;:{&quot;incomingExternalClient&quot;:{&quot;minWireVersion&quot;:0,&quot;maxWireVersion&quot;:13},&quot;incomingInternalClient&quot;:{&quot;minWireVersion&quot;:0,&quot;maxWireVersion&quot;:13},&quot;outgoing&quot;:{&quot;minWireVersion&quot;:0,&quot;maxWireVersion&quot;:13},&quot;isInternalClient&quot;:true},&quot;newSpec&quot;:{&quot;incomingExternalClient&quot;:{&quot;minWireVersion&quot;:0,&quot;maxWireVersion&quot;:13},&quot;incomingInternalClient&quot;:{&quot;minWireVersion&quot;:13,&quot;maxWireVersion&quot;:13},&quot;outgoing&quot;:{&quot;minWireVersion&quot;:13,&quot;maxWireVersion&quot;:13},&quot;isInternalClient&quot;:true}}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.170+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:5071100, &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Clearing temp directory&quot;}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.170+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:20536,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Flow Control is enabled on this deployment&quot;}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.171+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;FTDC&quot;,     &quot;id&quot;:20625,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Initializing full-time diagnostic data capture&quot;,&quot;attr&quot;:{&quot;dataDirectory&quot;:&quot;/data/db/diagnostic.data&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.173+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:6015317, &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;Setting new configuration state&quot;,&quot;attr&quot;:{&quot;newState&quot;:&quot;ConfigReplicationDisabled&quot;,&quot;oldState&quot;:&quot;ConfigPreStart&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.174+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:23015,   &quot;ctx&quot;:&quot;listener&quot;,&quot;msg&quot;:&quot;Listening on&quot;,&quot;attr&quot;:{&quot;address&quot;:&quot;/tmp/mongodb-27017.sock&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.174+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:23015,   &quot;ctx&quot;:&quot;listener&quot;,&quot;msg&quot;:&quot;Listening on&quot;,&quot;attr&quot;:{&quot;address&quot;:&quot;0.0.0.0&quot;}}
  mongodb_1        | {&quot;t&quot;:{&quot;$date&quot;:&quot;2022-04-30T00:24:16.174+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:23016,   &quot;ctx&quot;:&quot;listener&quot;,&quot;msg&quot;:&quot;Waiting for connections&quot;,&quot;attr&quot;:{&quot;port&quot;:27017,&quot;ssl&quot;:&quot;off&quot;}}
  </code></pre>
  <p>Any solutions please?</p>