Hi, I have two PCs (ubuntu) with MongoDB instances running on them.
Each PC has two Ethernet adapters with static IP addresses:
- eth0: 113.6.0.9
- eth1: 20.20.18.x , where x is uniuqe for each pc.
the PCs are wired connected on eth1, which is disable by default.
When both PCs enable the eth01 adapters I’m experiencing issues with the MongoDB instances on both PCs reading each other.
The config has:
net:
port: 27017
bindIp: 127.0.0.1
- how is it possible?
- how to prevent it?
thanks, Yair.