mongo - couldn't connect to server 127.0.0.1:27017

后端 未结 30 2322
故里飘歌
故里飘歌 2020-11-27 09:43

I am coming from riak and redis where I never had an issue with this services starting, or to interact.

This is a pervasive problem with mongo and am rather clueless

30条回答
  •  感情败类
    2020-11-27 10:24

    Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: No connection could be made because the target machine actively refused it.

    This error caused because Mongo Server been closed

    Simple Follow these steps

    1. Open Task Manager
    2. Go to >Services
    3. Find MongoDB
    4. Right click and select Start

提交回复
热议问题