Share via

Trying to Access hosted Application on my Virtual Machine and getting a "Too long to Respond" error

PM Pro Consulting LLC 40 Reputation points
2026-03-17T00:29:40.79+00:00

I'm trying to access a hosted application on my Virtual Machine, through a web browser (Edge), and I am getting a "Too Long to Respond" error. I think I have the correct ports open, and I tried to setup a firewall route, but I'm still having issues.

Azure Firewall
Azure Firewall

An Azure network security service that is used to protect Azure Virtual Network resources.


Answer accepted by question author
  1. Ganesh Patapati 11,760 Reputation points Microsoft External Staff Moderator
    2026-03-26T19:02:08.7+00:00

    Hello PM Pro Consulting LLC

    As discussed offline,

    The application is not listening on the expected port where the blocked by the VM OS firewall.


    Should there be any follow-up questions or concerns, please let us know and we shall try to address them.

    If these answer your question, click "Upvote" and click "Accept Answer" which may be beneficial to other community members reading this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Alex Burlachenko 19,695 Reputation points
    2026-03-17T10:02:48.6333333+00:00

    Hi PM Pro Consulting LLC and thx for join us at Q&A,

    Ravi Varma Mudduluru such a good question but I'll try to answer without that details,

    If u are getting too long to respond that usually means the browser cant establish a connection at all not that the app is returning an error. Lets see if the VM is actually listening on the expected port from inside the VM, use netstat or curl localhost and make sure the service is running, then check the Network Security Group on both the NIC and the subnet and confirm there is an inbound rule allowing the exact port from the correct source. Is verify the Windows firewall or Linux firewall inside the VM is not blocking it. If u are using Azure Firewall or a load balancer, pls be sure the public IP is correctly associated and the rule is forwarding traffic to the right private IP and port.

    Another common issue is the VM public IP changed if it was dynamic, so double check u are hitting the correct address, if ping works but the port doesnt it is almost always an NSG or OS firewall issue. If ping not work either see VM is running and not stopped or deallocated. Hope that would help to find out the root of issue

    rgds,

    Alex

    0 comments No comments

Your answer

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