title: angular-cli: how to tell browsersync (sockjs-node) which port to use
body: <p>I'm using angular-cli in combination with ASP.NET. Therefor, I create and angular application, which I'm bnuilding with ng serve, which makes the pageages avalible under </p>
  
  <pre><code>&lt;script type="text/javascript" src="http://localhost:4200/i.... (4x)
  </code></pre>
  
  <p>this scripts are embedded in my ASP.NET page which is avalible under <code>http://localhost:50744/XXXX/XXX</code> and the application is displayed. </p>
  
  <p>However, the live reload doesn't work because it tries to connect to <code>http://localhost:50744/sockjs-node/info?t=1528445601999</code>, so it uses the port of the ASP.NET Site and not the port of 'ng serve'. </p>
  
  <p><strong>How can I tell sockjs-node to use the 4200 port instead of the 50744?</strong></p>
  
  <p><strong>What I tried</strong>: I looked at the browser sync doku (<a href="https://browsersync.io/docs/options/" rel="nofollow noreferrer">https://browsersync.io/docs/options/</a> )  I couldn't figure out how to set this with angular-cli.</p>
  
  <p>I'm using <code>@angular/cli": "~1.7.4"</code>, <code>"@angular/core": "^5.2.0",</code>...</p>