Cannot connect to remote app externally

Misbah Hasan 136 Reputation points
2021-03-29T16:39:30.247+00:00

Hello,

We have deployed an Azure virtual machine with Windows server 2019 Datacenter and our apps installed on it. This VM has been configured as a standalone/isolated domain controller. We have published apps to be accessed externally (i.e. to be accessed from users' machines). We can access the published apps from web browser using the url: https://dns_name/rdweb/webclient/index.html.

When accessed an app from a client (external) machine, we get an error message "The connection to the remote PC was lost. This might be because of a network connection problem." Please refer to the attached screenshot for error message.82399-cannot-connect-to-remote-app.png

I followed the documentation mentioned below:

https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-app-connection#step3

The above took me to the following documentation to setup endpoints:

https://learn.microsoft.com/en-us/previous-versions/azure/virtual-machines/windows/classic/setup-endpoints

I also followed the documentation below to add an inbound rule for port 80 (HTTP):

https://learn.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json

Any help would be greatly appreciated.

Best regards,
Misbah

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,039 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sumarigo-MSFT 47,471 Reputation points Microsoft Employee Moderator
    2021-04-05T12:18:28.313+00:00

    @Misbah Hasan Thanks for raising this question! Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    Since you have already tried the initial troubleshooting's steps I would recommend you to contact support, to receive a focused and immediate assistance from the right set of experts and this issue require deeper troubleshooting and working closely with you . so If you have a support plan, I request you file a support ticket, else please do let us know, we will try and help you get a one-time free technical support. In this case, could you send an email to AzCommunity[at]Microsoft[dot]com referencing this thread as well as your subscription ID. Please mention "ATTN subm" in the subject field. Thank you for your cooperation on this matter and look forward to your reply.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    ------------------------------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

  2. Misbah Hasan 136 Reputation points
    2021-04-12T14:07:47.147+00:00

    @Sumarigo-MSFT Thank you very much for the suggestion. I have raised a support request with Microsoft and currently in process. I had a session with support and at first look, they advised me to buy an SSL certificate from one of the certificate authorities (CA), after verifying configuring on our virtual machine. Just awaiting for another session with the support team to clarify about the domain for which an SSL certificate is required. We have already got a registered domain and that is the same as our Azure AD (Active Directory). We have deployed a VM (virtual machine) under one of our Azure subscriptions and assigned a DNS label name to that VM in Azure portal. Therefore, I need to clarify with the support team, if:

    1. the SSL certificate would be related to our already registered domain and somehow points to or forwards to our VM RD Web URL (for example, https://<VM_DNS_Name>/rdweb/webclient/index.html) or
    2. do we have buy another domain, register it and make it point to the VM RD Web URL I will update on this on further development.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.