How I add new endpoints to my VM on new azure portal (preview)?

How I add new endpoints to my VM on new azure portal (preview)?

on old portal it was easy and there is tab for it, but with new one I can't find it.

enter image description here


You can find it in Network security group section.

Screenshot


Select Virtual Machine -> Click Resource Group -> Click All settings -> Choose the one with a blue shield icon (3rd item) -> Click All Settings -> Click Inbound security rules -> Click the Plus icon on top.

http://blog.keithics.com/mongodb-and-node-endpoints-with-new-azure-portal/

enter image description here


For Classic VMs, answers given b others are valid. If you are not on a classic VM, here is the path for Inbound / Outbound Rules.

enter image description here


Same in preview portal. Just navigate to Virtual Machines, select VMs, All settings (or Settings button in action bar):

enter image description here