I cant connect to web based apps

Ayan Mehdi 0 Reputation points
2025-03-26T08:57:59.11+00:00

Hiya, I recently got Microsoft Azure to test out Casa OS, Casa OS itself works great, but when I install any apps from the Casa Appstore it doesn't work properly, it cant connect to the website of the web app. I would appreciate any help

Thanks,

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,131 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alekhya Vaddepally 665 Reputation points Microsoft External Staff
    2025-03-27T15:02:28.6033333+00:00

    Hi Ayan Mehdi,
    Make sure the NSG associated with your Azure example allows traffic coming on the port that uses your web apps. By default, some ports such as only 80 and 443 are open. You may need to make inbound rules for other ports.

    you can cinfigure NSG by Go to the Azure portal and Search and open for "Network Safety Group"-> Select your virtual machine or NSG attached to the app service->click on inbound safety rules in that add new inbound rules to allow traffic for essential ports you can give give required details

    Port: 8080 (Example: Adjust according to app requirements)

    Protocol: TCP

    Source: Anyone (or if necessary, ban on specific IP)

    Action: permission

    Save changes.

    Check if the dock container is binding for the correct port and IP address. Ensure that they are not bound to internal IPS that cannot be accessed from outside.

    If you are using a custom domain, verify that your DNS record indicates the public IP. Wrong DNS settings can prevent access to your web app

    Go to your domain registrar (eg, Godaddy, namecheap)-> Update A record to indicate the public IP address of your Azure VM.

    If Azure are using DNS:

    Open the Azure portal and search for "DNS zone".

    Select your DNS zone and update the A record accordingly.

    Use a tool like curls to test connectivity from the specific port running on your web apps. This can help you determine whether the problem is accompanied by application or network configuration.
    https://learn.microsoft.com/en-us/azure/container-apps/troubleshooting?tabs=bash#review-ingress-configuration
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/troubleshoot-app-connection#quick-start-troubleshooting-steps
    https://learn.microsoft.com/en-us/azure/container-apps/troubleshooting?tabs=bash#verify-networking-configuration
    If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.

    Let me know if you have any further Queries.


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.