An Azure service that is used to provision Windows and Linux virtual machines.
Hi Manoj,
Welcome to Q&A, I understand that the application works perfectly on the Azure VM, but you're encountering authentication issues when trying to access it from your local network. In that case I would suggest bellow steps for troeubleshoot the root cause issue:
- Your app might use localhost, which only works inside the VM. Switch it to use the VM’s IP address instead.
- Ensure port 5000 is open, so your local machine can connect. Verify that the firewall or Network security group is blocking the ports required.
- Confirm your domain resolves to the VM’s IP (ping domainname.com or nslookup domainname.com) and isn't blocked by DNS issues.
- Make sure your app isn't limited to localhost, bind it to 0.0.0.0 or the VM IP to allow external connections.
- Test with the VM IP directly (e.g., http://<VM-IP>
If the information helped address your question, please Accept the answer.
Luis