title: How run in same port Angular and Node.JS Express?
body: <p>This is might be possible to duplicate question but not able to understand how to configure FE and BE together run them both.</p>
  
  <p>I've gone through <a href="https://stackoverflow.com/q/39845526">this</a> and <a href="https://stackoverflow.com/q/46782456">this</a> questions, but couldn't understand.</p>
  
  <p>My Node+Express running on 4300</p>
  
  <pre><code>app.post('/postData', function(req, res) {
  //some worst logics here :)
  });
  </code></pre>
  
  <p>And</p>
  
  <p>Angular 5 running on 4200. Below is my FE service that calling post endpoint</p>
  
  <pre><code>postData(feData) {
          console.log(feData);
          this.http.post('/postData', feData, this.httpHeader).subscribe((data) =&gt; {
          });
      }
  </code></pre>
  
  <p>What I tried is opened two cmd Windows: one to run <code>server.js</code> by <code>node server.js</code> and another one with ng serve.</p>
  
  <p>Result:</p>
  
  <blockquote>
  <pre><code>404 not fount(cannot post)
  </code></pre>
  </blockquote>
  
  <p>What am I doing wrong.</p>