Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to turn on http service in MongoDB version 3.4

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the MongoDB version 3.4 how to open http service, the article is very detailed, has a certain reference value, interested friends must read it!

Mongodb3.0 begins to discard the parameter httpinterface=true in the configuration file. If you start with this parameter, the following error will be reported:

Unrecognized option: httpinterface=true

Try'. / mongod-- help' for more information

The new version can start the http service as follows

#. / mongod-f / data/mongodb/mongod.conf-- httpinterface

About to fork child process, waiting until server is ready for connections.

Forked process: 13741

Child process started successfully, parent exiting

#

The http service port of mongodb is 28017

# ss-lnt | grep 28017

LISTEN 0 128 *: 28017 *: *

View the web page

The above is all the contents of the article "how to open http service in MongoDB version 3.4". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report