The difference between and

      No Comments on The difference between and typically refers to loopback local-only terminal depending on the context, this typically instructs an application to listen on every available interface.


With following MongoDB configuration

Mongo will be available only locally. Even if you open port 27017 on all interfaces, Mongo won’t be available on these ports and to anyone from outside world it will appear as if on port 27017

On the other hand, if we change to

Mongo will be listening on port 27017 on all network interfaces.

Leave a Reply

Your email address will not be published. Required fields are marked *