title: Windows IIS - Redirect to local port
body: <p>I serve static files of my webapp over Port 443, 80 (HTTP standard ports). Furthermore only Port 443 and 80 are rachable from outside.</p>
  
  <p>On the server there is running a local server on port 5000 serving a REST API. </p>
  
  <p>Workflow:</p>
  
  <ul>
  <li>user requests webapp via /index.html</li>
  <li>user receives webapp</li>
  <li>webapp performs an asynchronous request to the rest api via /api/webservicename</li>
  <li>IIS should now redirect this request to something like localhost:5000/webservicename</li>
  </ul>
  
  <p>I installed already URL Rewrite Extensionn for IIS and tried some rewriting rules, but it doesn't work. Is it possible to do this with this extension? If so, how can I achieve this?</p>