1

Where is the option to configure port mappings in the new Microsoft Azure portal (http://portal.azure.com)?

4

If you're setting up a Classic Virtual Machine (that is, with the legacy APIs, available in both the new and old portals), you'll find the settings under Endpoints, when you look at your VM's settings:

classic endpoints

If you created a VM using the new Resource Manager (either via portal or via ARM script), the concept of Endpoint no longer exists. Instead, you have an IP address, associated with a NIC. And that NIC is inside a Network Security Group (NSG). In the NSG, you define inbound and outbound port rules. A few more clicks away, but...

First look at your VM's settings and navigate to the network interface:

NIC

Then navigate to the network security group:

Network Security Group

Finally, edit the inbound rules:

inbound rules

Note: You may also add outbound rules.

  • 5
    Just to complete your solution: if you need to do a port translation (i.e. different port on the public side than on the VM itself) for an ARM VM, you'll need to put the VM behind a load balancer and use Inbound NAT Rules for the port translation. – Pedro Perez Dec 1 '15 at 22:21

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.