Windows VM Port not accessible

BRAHMACHARIMAYUM RISHIKESH SHARMA 20 Reputation points
2024-09-17T12:15:05.26+00:00

I recently installed windows 11 vm on azure. I have python installed and running a fastapi uvicorn app with port 8080 listening on 0.0.0.0. I have created inbound rules for 8080 but the port is not working from public ip. But inbound rules for rdp port and ICMP is still working for the same VM. What is the real issue here? Can anybody give a hint what is the problem? I have disabled windows firewall also.

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

Accepted answer
  1. Luis Arias 6,796 Reputation points
    2024-09-17T16:29:15.2733333+00:00

    Hi BRAHMACHARIMAYUM,

    I recommend you to troubleshoot your issue with the FastAPI app on port 8080, ensure that the Network Security Group (NSG) rules allow inbound traffic on port 8080 and verify that your application is correctly bound to correctly on local 0.0.0.0:8080. Also, confirm that the public IP is correctly associated with your VM, and try accessing the app from different devices or browsers. Restarting the VM or services might also help apply changes correctly

    References:

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    Regards,

    Luis


0 additional answers

Sort by: Most helpful

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.