title: What is a good way to route all HTTP requests to a local port?
body: <p>Setting up a server to respond to all HTTP requests for testing.</p>
  
  <p>The goal is to send all HTTP requests to <code>localhost:3000</code>. Tried <a href="https://github.com/samuelkadolph/ruby-proxifier" rel="nofollow">https://github.com/samuelkadolph/ruby-proxifier</a> and <a href="https://github.com/igrigorik/em-proxy" rel="nofollow">https://github.com/igrigorik/em-proxy</a>, but they don't seem to work on Ruby 2.2.0.</p>
  
  <p>Also tried <a href="https://evancarmi.com/writing/faraday-proxy/" rel="nofollow">https://evancarmi.com/writing/faraday-proxy/</a>, but it didn't work.</p>
  
  <p>What is a good way to route all HTTP traffic to localhost:3000?</p>
  
  <p>EDIT: I noticed that this question isn't clear. The goal is to route all requests on a machine to a port. These requests would come from a browser or a Ruby app.</p>