How to see our angular app through url after deploying it in azure cloud?












-1














I have deployed my angular app in azure. It is up & running. But I don't know how to see it through browser. It is running in its default port 4200. Can someone please tell me if any configuration needs to be done to view the app in my browser.










share|improve this question






















  • Is this running in an Azure web app, on a VM, in a container?
    – Sam Cogan
    Nov 12 '18 at 12:24










  • @SamCogan It is running on a VM
    – sasi
    Nov 12 '18 at 12:28
















-1














I have deployed my angular app in azure. It is up & running. But I don't know how to see it through browser. It is running in its default port 4200. Can someone please tell me if any configuration needs to be done to view the app in my browser.










share|improve this question






















  • Is this running in an Azure web app, on a VM, in a container?
    – Sam Cogan
    Nov 12 '18 at 12:24










  • @SamCogan It is running on a VM
    – sasi
    Nov 12 '18 at 12:28














-1












-1








-1







I have deployed my angular app in azure. It is up & running. But I don't know how to see it through browser. It is running in its default port 4200. Can someone please tell me if any configuration needs to be done to view the app in my browser.










share|improve this question













I have deployed my angular app in azure. It is up & running. But I don't know how to see it through browser. It is running in its default port 4200. Can someone please tell me if any configuration needs to be done to view the app in my browser.







angular azure cloud angular6






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 '18 at 12:23









sasi

77310




77310












  • Is this running in an Azure web app, on a VM, in a container?
    – Sam Cogan
    Nov 12 '18 at 12:24










  • @SamCogan It is running on a VM
    – sasi
    Nov 12 '18 at 12:28


















  • Is this running in an Azure web app, on a VM, in a container?
    – Sam Cogan
    Nov 12 '18 at 12:24










  • @SamCogan It is running on a VM
    – sasi
    Nov 12 '18 at 12:28
















Is this running in an Azure web app, on a VM, in a container?
– Sam Cogan
Nov 12 '18 at 12:24




Is this running in an Azure web app, on a VM, in a container?
– Sam Cogan
Nov 12 '18 at 12:24












@SamCogan It is running on a VM
– sasi
Nov 12 '18 at 12:28




@SamCogan It is running on a VM
– sasi
Nov 12 '18 at 12:28












1 Answer
1






active

oldest

votes


















0














As this is running on a VM then you need to do the following:




  • Open port 4200 in the Network Security Group (NSG) that is assigned that VM or Subnet the VM is in (or both)

  • Open port 4200 in any firewall

  • Ensure that the VM has a public IP address


Once you have done this you should be able to go to the public IP in the browser.






share|improve this answer





















  • No, still I'm not able to view my app in the browser
    – sasi
    Nov 12 '18 at 12:44










  • You're going to have to provide more information than that if you want some help. What have you done, what error are you seeing, how have you configured things.
    – Sam Cogan
    Nov 12 '18 at 12:45










  • We have deployed our angular app in to azure VM. The application is up & running in cmd, But we couldn't knw how to view the app in the browser. Do we need to configure anything? Could you please tell me?
    – sasi
    Nov 13 '18 at 11:26










  • I said what needed to be done in the answer above. Have you ammended the NSG and firewall rules to allow access?
    – Sam Cogan
    Nov 13 '18 at 11:30











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53262137%2fhow-to-see-our-angular-app-through-url-after-deploying-it-in-azure-cloud%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














As this is running on a VM then you need to do the following:




  • Open port 4200 in the Network Security Group (NSG) that is assigned that VM or Subnet the VM is in (or both)

  • Open port 4200 in any firewall

  • Ensure that the VM has a public IP address


Once you have done this you should be able to go to the public IP in the browser.






share|improve this answer





















  • No, still I'm not able to view my app in the browser
    – sasi
    Nov 12 '18 at 12:44










  • You're going to have to provide more information than that if you want some help. What have you done, what error are you seeing, how have you configured things.
    – Sam Cogan
    Nov 12 '18 at 12:45










  • We have deployed our angular app in to azure VM. The application is up & running in cmd, But we couldn't knw how to view the app in the browser. Do we need to configure anything? Could you please tell me?
    – sasi
    Nov 13 '18 at 11:26










  • I said what needed to be done in the answer above. Have you ammended the NSG and firewall rules to allow access?
    – Sam Cogan
    Nov 13 '18 at 11:30
















0














As this is running on a VM then you need to do the following:




  • Open port 4200 in the Network Security Group (NSG) that is assigned that VM or Subnet the VM is in (or both)

  • Open port 4200 in any firewall

  • Ensure that the VM has a public IP address


Once you have done this you should be able to go to the public IP in the browser.






share|improve this answer





















  • No, still I'm not able to view my app in the browser
    – sasi
    Nov 12 '18 at 12:44










  • You're going to have to provide more information than that if you want some help. What have you done, what error are you seeing, how have you configured things.
    – Sam Cogan
    Nov 12 '18 at 12:45










  • We have deployed our angular app in to azure VM. The application is up & running in cmd, But we couldn't knw how to view the app in the browser. Do we need to configure anything? Could you please tell me?
    – sasi
    Nov 13 '18 at 11:26










  • I said what needed to be done in the answer above. Have you ammended the NSG and firewall rules to allow access?
    – Sam Cogan
    Nov 13 '18 at 11:30














0












0








0






As this is running on a VM then you need to do the following:




  • Open port 4200 in the Network Security Group (NSG) that is assigned that VM or Subnet the VM is in (or both)

  • Open port 4200 in any firewall

  • Ensure that the VM has a public IP address


Once you have done this you should be able to go to the public IP in the browser.






share|improve this answer












As this is running on a VM then you need to do the following:




  • Open port 4200 in the Network Security Group (NSG) that is assigned that VM or Subnet the VM is in (or both)

  • Open port 4200 in any firewall

  • Ensure that the VM has a public IP address


Once you have done this you should be able to go to the public IP in the browser.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 12 '18 at 12:31









Sam Cogan

1,74762763




1,74762763












  • No, still I'm not able to view my app in the browser
    – sasi
    Nov 12 '18 at 12:44










  • You're going to have to provide more information than that if you want some help. What have you done, what error are you seeing, how have you configured things.
    – Sam Cogan
    Nov 12 '18 at 12:45










  • We have deployed our angular app in to azure VM. The application is up & running in cmd, But we couldn't knw how to view the app in the browser. Do we need to configure anything? Could you please tell me?
    – sasi
    Nov 13 '18 at 11:26










  • I said what needed to be done in the answer above. Have you ammended the NSG and firewall rules to allow access?
    – Sam Cogan
    Nov 13 '18 at 11:30


















  • No, still I'm not able to view my app in the browser
    – sasi
    Nov 12 '18 at 12:44










  • You're going to have to provide more information than that if you want some help. What have you done, what error are you seeing, how have you configured things.
    – Sam Cogan
    Nov 12 '18 at 12:45










  • We have deployed our angular app in to azure VM. The application is up & running in cmd, But we couldn't knw how to view the app in the browser. Do we need to configure anything? Could you please tell me?
    – sasi
    Nov 13 '18 at 11:26










  • I said what needed to be done in the answer above. Have you ammended the NSG and firewall rules to allow access?
    – Sam Cogan
    Nov 13 '18 at 11:30
















No, still I'm not able to view my app in the browser
– sasi
Nov 12 '18 at 12:44




No, still I'm not able to view my app in the browser
– sasi
Nov 12 '18 at 12:44












You're going to have to provide more information than that if you want some help. What have you done, what error are you seeing, how have you configured things.
– Sam Cogan
Nov 12 '18 at 12:45




You're going to have to provide more information than that if you want some help. What have you done, what error are you seeing, how have you configured things.
– Sam Cogan
Nov 12 '18 at 12:45












We have deployed our angular app in to azure VM. The application is up & running in cmd, But we couldn't knw how to view the app in the browser. Do we need to configure anything? Could you please tell me?
– sasi
Nov 13 '18 at 11:26




We have deployed our angular app in to azure VM. The application is up & running in cmd, But we couldn't knw how to view the app in the browser. Do we need to configure anything? Could you please tell me?
– sasi
Nov 13 '18 at 11:26












I said what needed to be done in the answer above. Have you ammended the NSG and firewall rules to allow access?
– Sam Cogan
Nov 13 '18 at 11:30




I said what needed to be done in the answer above. Have you ammended the NSG and firewall rules to allow access?
– Sam Cogan
Nov 13 '18 at 11:30


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53262137%2fhow-to-see-our-angular-app-through-url-after-deploying-it-in-azure-cloud%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()