Discussion:
mongod.cfg bindIPAll : true , is that right?
(too old to reply)
BitchRabbit
2018-10-26 01:36:12 UTC
Permalink
Hello
i amend bindIP:127.0.0.1 to bindIPAll:true
However mongod have error.

2018-10-26T10:28:50.616+0900 I CONTROL [initandlisten] ** WARNING: This
server is bound to localhost.
2018-10-26T10:28:50.618+0900 I CONTROL [initandlisten] ** Remote
systems will be unable to connect to this server.
2018-10-26T10:28:50.619+0900 I CONTROL [initandlisten] ** Start
the server with --bind_ip <address> to specify which IP
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
addresses it should serve responses from, or with --bind_ip_all to
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] ** bind to
all interfaces. If this behavior is desired, start the
2018-10-26T10:28:50.621+0900 I CONTROL [initandlisten] ** server
with --bind_ip 127.0.0.1 to disable this warning.

[image: 1.PNG] <about:invalid#zClosurez>

[image: 2.PNG]
OS: Window 10 64bits

Thank you for your help.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Matt Hughes
2018-10-26 01:39:46 UTC
Permalink
I haven't used this before but documentation indicates a lowercase p
Post by BitchRabbit
Hello
i amend bindIP:127.0.0.1 to bindIPAll:true
However mongod have error.
2018-10-26T10:28:50.616+0900 I CONTROL [initandlisten] ** WARNING: This
server is bound to localhost.
2018-10-26T10:28:50.618+0900 I CONTROL [initandlisten] ** Remote
systems will be unable to connect to this server.
2018-10-26T10:28:50.619+0900 I CONTROL [initandlisten] ** Start
the server with --bind_ip <address> to specify which IP
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
addresses it should serve responses from, or with --bind_ip_all to
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] ** bind
to all interfaces. If this behavior is desired, start the
2018-10-26T10:28:50.621+0900 I CONTROL [initandlisten] ** server
with --bind_ip 127.0.0.1 to disable this warning.
[image: 1.PNG]
[image: 2.PNG]
OS: Window 10 64bits
Thank you for your help.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups
"mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com
<https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAL4wz7Xy5G62q6bG-6ZatoBtxVHFnYVkNwn%2Bc1ojjLNoPYSYKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
BitchRabbit
2018-10-28 23:50:25 UTC
Permalink
Same Error :P

I have allowed external access.


[image: 2.PNG]

[image: 1.PNG]
Post by Matt Hughes
I haven't used this before but documentation indicates a lowercase p
Post by BitchRabbit
Hello
i amend bindIP:127.0.0.1 to bindIPAll:true
However mongod have error.
2018-10-26T10:28:50.616+0900 I CONTROL [initandlisten] ** WARNING: This
server is bound to localhost.
2018-10-26T10:28:50.618+0900 I CONTROL [initandlisten] **
Remote systems will be unable to connect to this server.
2018-10-26T10:28:50.619+0900 I CONTROL [initandlisten] ** Start
the server with --bind_ip <address> to specify which IP
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
addresses it should serve responses from, or with --bind_ip_all to
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] ** bind
to all interfaces. If this behavior is desired, start the
2018-10-26T10:28:50.621+0900 I CONTROL [initandlisten] **
server with --bind_ip 127.0.0.1 to disable this warning.
[image: 1.PNG]
[image: 2.PNG]
OS: Window 10 64bits
Thank you for your help.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups
"mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com
<https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/b30c1166-8191-4455-afb5-fbb83fa00df3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robert Cochran
2018-10-29 00:17:37 UTC
Permalink
Did you save mongod.cfg, and then shut down the mongod server and restart
it after changing mongod.cfg?

It certainly looks like you did.

Does rebooting the entire Windows system help?

Thanks so much

Bob
Post by BitchRabbit
Same Error :P
I have allowed external access.
[image: 2.PNG]
[image: 1.PNG]
Post by Matt Hughes
I haven't used this before but documentation indicates a lowercase p
Post by BitchRabbit
Hello
i amend bindIP:127.0.0.1 to bindIPAll:true
However mongod have error.
2018-10-26T10:28:50.616+0900 I CONTROL [initandlisten] ** WARNING: This
server is bound to localhost.
2018-10-26T10:28:50.618+0900 I CONTROL [initandlisten] **
Remote systems will be unable to connect to this server.
2018-10-26T10:28:50.619+0900 I CONTROL [initandlisten] **
Start the server with --bind_ip <address> to specify which IP
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
addresses it should serve responses from, or with --bind_ip_all to
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] ** bind
to all interfaces. If this behavior is desired, start the
2018-10-26T10:28:50.621+0900 I CONTROL [initandlisten] **
server with --bind_ip 127.0.0.1 to disable this warning.
[image: 1.PNG]
[image: 2.PNG]
OS: Window 10 64bits
Thank you for your help.
--
You received this message because you are subscribed to the Google
Groups "mongodb-user"
group.
https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com
<https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/6035f79d-fe1c-459c-9b88-94b10a20f41d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
BitchRabbit
2018-10-29 01:20:07 UTC
Permalink
Hello
i restart computer after mongod.exe have same error :(
i need to allow the external access.
i open port to the Windows Defender.

What have problems?

[image: 3.PNG]
Post by Robert Cochran
Did you save mongod.cfg, and then shut down the mongod server and restart
it after changing mongod.cfg?
It certainly looks like you did.
Does rebooting the entire Windows system help?
Thanks so much
Bob
Post by BitchRabbit
Same Error :P
I have allowed external access.
[image: 2.PNG]
[image: 1.PNG]
Post by Matt Hughes
I haven't used this before but documentation indicates a lowercase p
Post by BitchRabbit
Hello
i amend bindIP:127.0.0.1 to bindIPAll:true
However mongod have error.
This server is bound to localhost.
2018-10-26T10:28:50.618+0900 I CONTROL [initandlisten] **
Remote systems will be unable to connect to this server.
2018-10-26T10:28:50.619+0900 I CONTROL [initandlisten] **
Start the server with --bind_ip <address> to specify which IP
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
addresses it should serve responses from, or with --bind_ip_all to
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
bind to all interfaces. If this behavior is desired, start the
2018-10-26T10:28:50.621+0900 I CONTROL [initandlisten] **
server with --bind_ip 127.0.0.1 to disable this warning.
[image: 1.PNG]
[image: 2.PNG]
OS: Window 10 64bits
Thank you for your help.
--
You received this message because you are subscribed to the Google
Groups "mongodb-user"
group.
https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com
<https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/383a829b-f67e-4948-8a15-e2bc8f71f2d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robert Cochran
2018-10-29 01:29:20 UTC
Permalink
Hi!

Perhaps:



--------

bindIp: 0.0.0.0

---------



Thanks

Bob
Post by BitchRabbit
Hello
i restart computer after mongod.exe have same error :(
i need to allow the external access.
i open port to the Windows Defender.
What have problems?
[image: 3.PNG]
Post by Robert Cochran
Did you save mongod.cfg, and then shut down the mongod server and restart
it after changing mongod.cfg?
It certainly looks like you did.
Does rebooting the entire Windows system help?
Thanks so much
Bob
Post by BitchRabbit
Same Error :P
I have allowed external access.
[image: 2.PNG]
[image: 1.PNG]
Post by Matt Hughes
I haven't used this before but documentation indicates a lowercase p
Post by BitchRabbit
Hello
i amend bindIP:127.0.0.1 to bindIPAll:true
However mongod have error.
This server is bound to localhost.
2018-10-26T10:28:50.618+0900 I CONTROL [initandlisten] **
Remote systems will be unable to connect to this server.
2018-10-26T10:28:50.619+0900 I CONTROL [initandlisten] **
Start the server with --bind_ip <address> to specify which IP
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
addresses it should serve responses from, or with --bind_ip_all to
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
bind to all interfaces. If this behavior is desired, start the
2018-10-26T10:28:50.621+0900 I CONTROL [initandlisten] **
server with --bind_ip 127.0.0.1 to disable this warning.
[image: 1.PNG]
[image: 2.PNG]
OS: Window 10 64bits
Thank you for your help.
--
You received this message because you are subscribed to the Google
Groups "mongodb-user"
group.
https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com
<https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/f9c3051f-989c-46ad-a4d3-718a959a4fa0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
BitchRabbit
2018-10-29 01:41:12 UTC
Permalink
Same Error .-.
Post by Robert Cochran
Hi!
--------
bindIp: 0.0.0.0
---------
Thanks
Bob
Post by BitchRabbit
Hello
i restart computer after mongod.exe have same error :(
i need to allow the external access.
i open port to the Windows Defender.
What have problems?
[image: 3.PNG]
Post by Robert Cochran
Did you save mongod.cfg, and then shut down the mongod server and
restart it after changing mongod.cfg?
It certainly looks like you did.
Does rebooting the entire Windows system help?
Thanks so much
Bob
Post by BitchRabbit
Same Error :P
I have allowed external access.
[image: 2.PNG]
[image: 1.PNG]
Post by Matt Hughes
I haven't used this before but documentation indicates a lowercase p
Post by BitchRabbit
Hello
i amend bindIP:127.0.0.1 to bindIPAll:true
However mongod have error.
This server is bound to localhost.
2018-10-26T10:28:50.618+0900 I CONTROL [initandlisten] **
Remote systems will be unable to connect to this server.
2018-10-26T10:28:50.619+0900 I CONTROL [initandlisten] **
Start the server with --bind_ip <address> to specify which IP
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
addresses it should serve responses from, or with --bind_ip_all to
2018-10-26T10:28:50.620+0900 I CONTROL [initandlisten] **
bind to all interfaces. If this behavior is desired, start the
2018-10-26T10:28:50.621+0900 I CONTROL [initandlisten] **
server with --bind_ip 127.0.0.1 to disable this warning.
[image: 1.PNG]
[image: 2.PNG]
OS: Window 10 64bits
Thank you for your help.
--
You received this message because you are subscribed to the Google
Groups "mongodb-user"
group.
https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it,
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com
<https://groups.google.com/d/msgid/mongodb-user/3ef05d43-074d-479f-a0bb-a103387af270%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/b707f417-c7a1-4354-b96f-1a9666d333f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
MH
2018-10-29 01:26:52 UTC
Permalink
Perhaps its broken in 4?
Did you try just bindIp::,0.0.0.0 ?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/615df15d-65cd-4d78-9b79-9b6e9576b8aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
BitchRabbit
2018-10-29 01:38:02 UTC
Permalink
Same Error .-.
Perhaps difference directory?

[image: 1.PNG]

[image: 2.PNG]

[image: 3.PNG]
Post by MH
Perhaps its broken in 4?
Did you try just bindIp::,0.0.0.0 ?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/4a599c28-d9dc-4525-b9ce-704d6947643a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robert Cochran
2018-10-29 01:44:02 UTC
Permalink
Here is what might be happening:

Windows 10 might not be showing you all file extensions. Turn on the File
Explorer setting to show all file extensions. Now look again in your
install directory. What you see might be a file named mongod.cfg.txt, and
the server might not be reading that file!

Change the filename to mongod.cfg and make sure it is saved as that
extension.

Then try again. See this quote from the installation instructions for
Windows:

Show All File Name Extensions

Make certain that you set Windows Explorer/File Explorer to show file name
extensions for all file types. This can prevent issues where the file type
displayed to the user differs from the actual file type.


EXAMPLE

If Windows Explorer/File Explorer has known file extensions hidden, what
may appear to be mongod.cfg is actually mongod.cfg.txt.



Bob
Enter code here...
Post by BitchRabbit
Same Error .-.
Perhaps difference directory?
[image: 1.PNG]
[image: 2.PNG]
[image: 3.PNG]
Post by MH
Perhaps its broken in 4?
Did you try just bindIp::,0.0.0.0 ?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/05705bc7-9f6a-466a-a824-66aa87fab37c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
BitchRabbit
2018-10-29 01:55:30 UTC
Permalink
Hello

Mongod.cfg is not mongod.cfg.txt

GRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR :O




[image: 4.PNG]
Post by Robert Cochran
Windows 10 might not be showing you all file extensions. Turn on the File
Explorer setting to show all file extensions. Now look again in your
install directory. What you see might be a file named mongod.cfg.txt, and
the server might not be reading that file!
Change the filename to mongod.cfg and make sure it is saved as that
extension.
Then try again. See this quote from the installation instructions for
Show All File Name Extensions
Make certain that you set Windows Explorer/File Explorer to show file
name extensions for all file types. This can prevent issues where the
file type displayed to the user differs from the actual file type.
EXAMPLE
If Windows Explorer/File Explorer has known file extensions hidden, what
may appear to be mongod.cfg is actually mongod.cfg.txt.
Bob
Enter code here...
Post by BitchRabbit
Same Error .-.
Perhaps difference directory?
[image: 1.PNG]
[image: 2.PNG]
[image: 3.PNG]
Post by MH
Perhaps its broken in 4?
Did you try just bindIp::,0.0.0.0 ?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/df64963c-d188-4408-a50f-16095ba12d80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Kevin Adistambha' via mongodb-user
2018-10-30 00:53:07 UTC
Permalink
Hi,

Have you solved the issue? If I may recap the story so far, you wanted to
enable the bindIpAll parameter to let MongoDB bind to all IP thus allowing
external access to the server.

It’s worth mentioning that there is a detailed step-by-step guide on
installing MongoDB on Windows on the Install MongoDB Community Edition on
Windows
<https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/>
page, where it lists most common issues (including Windows Defender, and
getting Explorer to display known file extensions which was hidden).

Having said that, there are two ways you can install MongoDB on Windows:
either as a service, or as a standalone binary.

If you installed MongoDB as a service (which is an option if you download
the msi binaries), you can let the installer install MongoDB as a service,
where it will automatically use the config file located under <MongoDB
install directory>\bin\mongod.cfg. For example, if I install MongoDB 4.0.3,
by default it will read the config file located in C:\Program
Files\MongoDB\Server\4.0\bin\mongod.cfg.

If you installed MongoDB as a standalone binary, then you will need to pass
this parameter manually, e.g. mongod --config <location of config file>,
while taking care of quoting the file path if it contain spaces.

To check if the config was being read properly, you can execute
db.serverCmdLineOpts()
<https://docs.mongodb.com/manual/reference/method/db.serverCmdLineOpts/>
inside the mongo shell, and check if the expected configuration is
activated.

For valid configuration settings, please see Configuration File Options
<https://docs.mongodb.com/manual/reference/configuration-options/#configuration-file-options>
.

Finally, please note that it is strongly recommended to:

- Enable Auth
<https://docs.mongodb.com/manual/tutorial/enable-authentication/> for
deployments open to the internet, and
- Use a replica set <https://docs.mongodb.com/manual/replication/> for
production deployment.

Best regards,
Kevin
​
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/4803b0e1-d486-4299-adff-7ebf560b774a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
BitchRabbit
2018-11-08 07:59:05 UTC
Permalink
Hello , Dear my supporters.

I solve problem.
i download default directory or service to window 10 msi.
However i can't know why Mongod don't use config file.
Now i don't know reason and difference solve it.
Thank you support.

[image: 1.PNG]

[image: 2.PNG]
Post by 'Kevin Adistambha' via mongodb-user
Hi,
Have you solved the issue? If I may recap the story so far, you wanted to
enable the bindIpAll parameter to let MongoDB bind to all IP thus
allowing external access to the server.
It’s worth mentioning that there is a detailed step-by-step guide on
installing MongoDB on Windows on the Install MongoDB Community Edition on
Windows
<https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/>
page, where it lists most common issues (including Windows Defender, and
getting Explorer to display known file extensions which was hidden).
either as a service, or as a standalone binary.
If you installed MongoDB as a service (which is an option if you download
the msi binaries), you can let the installer install MongoDB as a service,
where it will automatically use the config file located under <MongoDB
install directory>\bin\mongod.cfg. For example, if I install MongoDB
4.0.3, by default it will read the config file located in C:\Program
Files\MongoDB\Server\4.0\bin\mongod.cfg.
If you installed MongoDB as a standalone binary, then you will need to
pass this parameter manually, e.g. mongod --config <location of config
file>, while taking care of quoting the file path if it contain spaces.
To check if the config was being read properly, you can execute
db.serverCmdLineOpts()
<https://docs.mongodb.com/manual/reference/method/db.serverCmdLineOpts/>
inside the mongo shell, and check if the expected configuration is
activated.
For valid configuration settings, please see Configuration File Options
<https://docs.mongodb.com/manual/reference/configuration-options/#configuration-file-options>
.
- Enable Auth
<https://docs.mongodb.com/manual/tutorial/enable-authentication/> for
deployments open to the internet, and
- Use a replica set <https://docs.mongodb.com/manual/replication/> for
production deployment.
Best regards,
Kevin
​
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/7b670074-18d2-405b-87b0-61f5f52793a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...