Unable to access custom port in Azure VM

James Seward 1 Reputation point
2020-10-15T16:09:22.74+00:00

I am attempting to set up a VM to host peerjs server. I have setup peerjs server locally and confirmed it works. Created VM in Azure and did the same there. Now I am attempting to connect from my local pc to peerjs server running in Azure. I have setup my server to run on port 9000. When I attempt to connect I always get a timeout. I have opened in and inbound and outbound port in the network security group for the server at 9000. Not sure what else is blocking the connection. 1st screenshot below, shows server running peerjs, client connected method on left demonstrates local connection working, image on right shows port config. 2nd screenshot shows connection error to server and port number.
32676-pic1.png32743-pic2.png32677-pic3.png

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

6 answers

Sort by: Most helpful
  1. Harry Puruswani 0 Reputation points
    2024-09-30T17:59:36.1466667+00:00

    Unable to open 8443 port on Azure VM. I tried to allow in NSG and firewall but still no luck

    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.