the problem is like a question. I"ll describe the details in detail.
asked the same question on Zhihu
when I was self-taught python crawler, I came into contact with MongoDB, to install according to the URL given by rookie tutorial . Visual observation is quite normal. I put forward warning, but checked it, that is to say, I don"t have a user name, password, local database or something. As shown below:
mongod.cfg:
shellmongo:
:
chrome"localhost:27107" :
:
:
at this time, my windows service MongoDB is running, and I should also be running MongoDB ( actually, I"m not sure if it"s enabled, but I already have the interface of the first picture in CMD, so I open it by default )
. So much for the description of theproblem. The following is some of the situation of my computer, and the attempts made, say it for good analysis.
-split line-
- there is a saying on the Internet that 27107 may not be open or anything. I have already set it up in the inbound rules of the firewall. Useless
- has tried to hang SSR and unhung SSR, respectively, and it doesn"t work either.
- found someone who said there was a problem with ip. I tried to set ip to 0.0.0.0 (actually, I don"t think it"s possible, but I also tried)
- others say that mongodb did not start. I don"t know what to say. I can connect with the official MongoDB Compass and operate the data in shell. This is enabled by default, right?
- is in the configuration file, and I specifically wrote the port as 27107.
- I have a desktop computer, not a network cable, but a wifi receiver, and the tplink at home is relayed through a millet signal amplifier, right? I don"t quite understand, but the signal in the room is weak, so I use an amplifier to search the amplifier wifi
- it is seriously suspected that the network does not know that there is a problem with that link. Of course, it"s also possible that I was inexperienced and didn"t find anything. The boss who wants to solve the problem can put forward his own ideas or ask me for some details. Thank you again and again!