解决mongod端口占用问题

listen(): bind() failed errno:48 Address already in use for socket: 0.0.0.0:27017

检查端口

yun@ubuntu:~$ ps aux | grep mongod
yun 95119 0.5 3.2 950384 65296 pts/7 Sl+ 21:24 0:08 mongod
yun 95278 0.0 0.0 21292 940 pts/20 S+ 21:50 0:00 grep --color=auto mongod

kill 95278

 

posted @ 2018-01-07 21:54  zy--  阅读(555)  评论(0编辑  收藏  举报