mongodb启动后打不开http://127.0.0.1:28017/
yum安装的mongodb,用systemctl start mongod.service,则不开启28017端口http://127.0.0.1:27017/显示You are trying to access MongoDB on the native driver port. For http diagnostic access, add 1000 to the port number
可是却打不开http://127.0.0.1:28017/,netstat -nltp没有28017端口
然而改用mongod --dbpath=/data/db启动则可以打开http://127.0.0.1:28017/
不知道什么原因?
页:
[1]