title: MongoDB bind_ip won't work unless set to 0.0.0.0
body: <p>I really tried, even reinstall the MongoDB.</p>
  
  <p>And it's the same to <a href="http://www.codedisqus.com/0zNeqeejWX/mongodb-bindip-error-bind-failed-errno99-cannot-assign-requested-address-for-socket.html" rel="noreferrer">MongoDB bind_ip error: bind() failed errno:99 Cannot assign requested address for socket</a></p>
  
  <p>It works if set bind_ip to: 0.0.0.0, or 127.0.0.1</p>
  
  <pre><code>$ sudo service mongod start
  mongod start/running, process 30040
  $ sudo service mongod restart
  mongod stop/waiting
  mongod start/running, process 29704
  $ mongo --port 19708
  MongoDB shell version: 3.0.3
  connecting to: 127.0.0.1:19708/test
  &gt;
  </code></pre>
  
  <p>It won't work if set <code>bing_ip</code> to: <code>127.0.0.1,192.118.96.10,42.112.36.110</code></p>
  
  <pre><code>$ sudo service mongod start
  mongod start/running, process 29969
  $ sudo service mongod restart
  stop: Unknown instance:
  mongod start/running, process 29766
  $ mongo --port 19708
  MongoDB shell version: 3.0.3
  connecting to: 127.0.0.1:19708/test
  2015-06-17T06:32:34.625+0000 W NETWORK  Failed to connect to 127.0.0.1:19708
  reason: errno:111 Connection refused
  2015-06-17T06:32:34.627+0000 E QUERY
  Error: couldn't connect to server   127.0.0.1:19708 (127.0.0.1), connection attempt failed
  at connect (src/mongo/shell/mongo.js:181:14)
  at (connect):1:6 at src/mongo/shell/mongo.js:181
  exception: connect failed
  </code></pre>
  
  <p><strong>locations:</strong></p>
  
  <pre><code>$ which mongod
  /usr/bin/mongod
  $ which mongo
  /usr/bin/mongo
  </code></pre>
  
  <p><strong>configurations in /etc/mongod.conf</strong></p>
  
  <pre><code>dbpath=/var/lib/mongodb
  
  logpath=/var/log/mongodb/mongod.log
  
  logappend=true
  
  port = 19708
  
  # ips, eg:
  # private ip for mongodb server: 192.118.96.10
  # public ip for remote app server: 42.112.36.110
  
  bind_ip = 127.0.0.1,192.118.96.10,42.112.36.110
  
  auth = true
  </code></pre>
  
  <p>Thanks in advance.</p>