title: Setup MongoDB on Windows Server 2008
body: <p>I'm new to mongoDB and like it so far, I work local for my dev where I have mongo running as service on Win7. I have it allso running as a service on my VPS on Win server 2008. When I am on the server it works fine but I don't know hos to set it up so I can acces it from outside of the server? Can't find any good documentation on that. Also, I'm having hard time to do backup/restore on the server from my local computer since I can't see it from outside of the server.</p>
  
  <p>I would like to have more information also on the master/slave and hos to set this up properly.</p>
  
  <p>When I run netstat -anb I get</p>
  
  <pre><code>  TCP    127.0.0.1:27017        0.0.0.0:0              LISTENING
   [mongod.exe]
    TCP    127.0.0.1:27017        127.0.0.1:62990        ESTABLISHED
   [mongod.exe]
    TCP    127.0.0.1:28017        0.0.0.0:0              LISTENING
  </code></pre>
  
  <p>That's all I have for mongod.exe</p>
  
  <p>[Edit]</p>
  
  <p>I tried to reinstall with --bind_ip xxx.x.x.xx and now the xxx.x.x.xx:27017 works but only on the remote server, if I try to access from anywhere it fails.</p>
  
  <p>Also, I turned off the firewall and it does not change anything.</p>
  
  <p>Thanks a lot!</p>