What configuration settings are needed to connect to a Windows 10 VM via http on port 8088 from a remote laptop?

Jeff Spicuzzi 20 Reputation points
2025-01-23T15:09:44.6766667+00:00

I want to have one windows 10 VM to host a software program with a public facing IP that a remote computer can access via http on port 8080. I see the public facing IP but I am not able to ping or connect to the VM

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author
Anusree Nashetty 6,715 Reputation points Microsoft External Staff Moderator
2025-01-23T20:14:15.4566667+00:00

Hi Jeff Spicuzzi,

Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

  • First Allow Inbound port in NSG of your VM configure it to allow inbound traffic on port 8080. Filter network traffic with a network security group
  • On the Windows 10 VM, open Windows Defender Firewall, navigate to Inbound Rules and select New Rule. Choose the Port then, select TCP and specify port 8080. Allow the connection and apply the rule to all profiles, including Domain, Private, and Public. Give the rule a name. Configure a firewall
  • Now test the connectivity from VM. Make sure that the application running on port 8080 is configured to listen on the public IP address of the VM.

For reference: Changing RDP port for Virtual Machine
I want to access custom port of my vm on azure via public ip from my browser

Please tell us if it was helpful and feel free to reach out to us if you have any queries.

If you feel that your queries have been resolved, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.