Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (50.2k points)

What does the --bindip configuration option do in mongodb? If I change this bindip configuration, will something happen? Why is 127.0.0.1 the default option?

1 Answer

0 votes
by (108k points)
edited by

In MongoDB, the bindip helps to override and bind to other multiple IP addresses, one can use the

--bind_ip command-line option to define a list of hostnames or IP addresses.

The IP: 127.0.0.1 is considered to be the default IP address of the localhost and is attached to the loopback interface, that can only get access from the same system.

MongoDB is an important part of full-stack development. Enroll in this Full Stack Developer Training to start your journey in this field.

Related questions

0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Browse Categories

...