title: How to access AngularJS application on Azure Virtual Machine?
body: <p>I've both NodeJS and AngularJS applications. I'm using <code>npm install</code> to download the app's dependencies for both the application. The NodeJS application runs on port <code>4000</code> and AngularJS application runs on port <code>4200</code>. I can access APIs from NodeJS application in the browser and cannot access the application's UI(AngularJS) in the browser. I have deployed these applications on Azure Virtual Machine.</p>
  
  <p>I have opened the ports <code>4000</code> and <code>4200</code> in the network settings of Azure VM. I'm using <code>npm start</code> command to start both the applications. NodeJS working fine as like in the local machine but not the same case with AngularJS. There is no errors or warnings from AngularJS side. It shows that the app is listening on <code>http://localhost:4200/</code> and it is not accessible.</p>