Mongo waiting on 27017 even after reinstall

前端 未结 9 1842
闹比i
闹比i 2021-01-03 23:23

I have uninstalled and reinstalled mongo (3.0.1), being sure i accepted the network access on windows 8, and yet i still have the same issue of \"waiting on 27017\".

9条回答
  •  灰色年华
    2021-01-03 23:38

    You Keep your first screen(which you are facing issue) open as it is. Now open one more screen and go inside mongodb folder. now execute ./bin/mongod. and you can its connected as below .

    2016-11-04T13:44:02.414+0800 I NETWORK  [initandlisten] waiting for connections on port 27017
    2016-11-04T13:50:26.990+0800 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:51541 #1 (1 connection now open)
    

提交回复
热议问题