Home > Database > Mysql Tutorial > 我改了 mongodb 的默认 port,无法启动了

我改了 mongodb 的默认 port,无法启动了

WBOY
Release: 2016-06-07 16:31:11
Original
1454 people have browsed it

删除以后 mongodb.lock 。 然后 sudo service mongodb restart JavaScript execution failed: Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112 怎么破? 原文地址:我改了 mongodb 的默认 port,无法启动了, 感谢原作

删除以后mongodb.lock

然后sudo service mongodb restart

JavaScript execution failed: Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112
Copy after login

怎么破?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template