title: Cannot open Swagger API in browser
body: <p>I am trying to set up Swagger in a VM/Vagrant box. What I have done is below.</p>
  
  <p>i. <strong>Port Forwarding</strong> using Vagrantfile</p>
  
  <pre><code>dev.vm.network "forwarded_port", guest: 3000, host: 3000, host_ip: 
  "127.0.0.1", auto_correct: true
  </code></pre>
  
  <p>ii. <strong>Swagger configuration in a vagrant box</strong></p>
  
  <pre><code>npm install -g swagger
  Create a new swagger project
  swagger project create hello-world
  </code></pre>
  
  <p>I tried to open Swagger Editor with command <code>swagger project edit -p 3000 -s</code>, which gives</p>
  
  <blockquote>
    <p>Starting Swagger Editor. Running Swagger Editor API server. You can
    make GET and PUT calls to <a href="http://127.0.0.1:3000/editor/spec" rel="nofollow noreferrer">http://127.0.0.1:3000/editor/spec</a></p>
  </blockquote>
  
  <p>Seems like everything is perfect so just visited browser of local desktop(windows), and visited <code>http://localhost:3000/editor/spec</code> which gives me <strong>This site can’t be reached</strong>.</p>
  
  <blockquote>
    <p>curl <a href="http://localhost:3000/editor/spec" rel="nofollow noreferrer">http://localhost:3000/editor/spec</a> is working fine in the VM/vagrant box.</p>
  </blockquote>
  
  <p>What wrong am I doing here?</p>