As the topic, I feel very troublesome, can’t it be started directly like other services? mongo has already occupied the port and called the configuration. Why do you need to add another layer of Mongo to start again
mongodIt’s the server.
mongoIs a client of the command line. Besides, it is clear that the server is on the server and the client is on your computer or other servers. Most of the time, the two cannot be combined together. Any database you know should be in this mode. So why don’t you tell me what the problem is? Just feel trouble, or is there something you want to achieve?