解决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
原文地址:https://www.cnblogs.com/hizf/p/8232349.html