title: Mongodb Management Service Error, Failure dialing host
body: <p>I've downloaded MMS by using this command</p>
  
  <pre><code>curl -OL https://mms.mongodb.com/download/agent/monitoring/mongodb-mms-monitoring-agent_latest_amd64.deb
  </code></pre>
  
  <p>Installed it by using sudo </p>
  
  <pre><code>sudo dpkg -i mongodb-mms-monitoring-agent_latest_amd64.deb
  </code></pre>
  
  <p>And edited /monitoring-agent.config file which located in</p>
  
  <pre><code>/etc/mongodb-mms
  </code></pre>
  
  <p>It was working Just fine Until I've started my mongod rplSet by adding --Fork flag, and by using this command</p>
  
  <pre><code>sudo mongod --fork --port 27017 --dbpath /mydbpath --logpath /mylogpath/mongodb.log --replSet Rplname
  </code></pre>
  
  <p>After starting the services using the above command, my MMS started showing that the host is Unreachable, and that following msg, in all of the members. </p>
  
  <pre><code>Task failure `hostIpAddr`. Err: `Failure determining IPv4 address for `myDnsAdd.cloudapp.net`. Err: `myDnsAdd.cloudapp.net: no such host` at monitoring-agent/components/task.go:221 at monitoring-agent/components/worker.go:153 at monitoring-agent/components/worker.go:224 at monitoring-agent/components/worker.go:236 at pkg/runtime/proc.c:1445`
  </code></pre>
  
  <p>I've edited the hosts file, and added the hosts ips and hostnames.
  Opened the 443 port, and tried to start mmms with --system flag like this</p>
  
  <pre><code>sudo start mongodb-mms-monitoring-agent --system
  </code></pre>
  
  <p>But still, Host is Unreachable. I got access list on the mongoport (:27017) is it beacuse of this? if so what IP should I add to that access list?</p>
  
  <p>Best,</p>