title: TOMCAT angular app cannot connect to node.js server - how to rig up proxy?
body: <p>SUBJECT
  TOMCAT angular app  cannot connect to node.js server - how to rig up proxy?</p>
  
  <p>Hi fellow angulars</p>
  
  <p>when I run my angular app using ng serve my proxy.conf.json is built in
  my node.js JSON api server is serving up models
  and all runs fine</p>
  
  <p>So I decided to deploy to tomcat
  APP runs fine but cannot connect to the running node.js server</p>
  
  <p>Does anyone know what the config procedure is to get tomcat to proxy http thru to my node.js server ?</p>
  
  <p>below is my proxy.conf.json</p>
  
  <p>angular-cli isnt cutting it</p>
  
  <p>and like I said I am just dangling my angular app off the tomcat doc root</p>
  
  <p>ThANKS IN ADVANCE</p>
  
  <pre><code>{
      "/api/*": {
          "target": "http://localhost:3000",
          "secure": false,
          "logLevel": "debug",
          "changeOrigin": true
      }
  }
  </code></pre>