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.
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/
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.
Same in preview portal. Just navigate to Virtual Machines, select VMs, All settings (or Settings button in action bar):
Yes, for v2 VMs the process for exposing endpoints is slightly different. V2 VMs no longer sit inside a cloud service, instead they are deployed into a VNET. If you want to be able to access the VM outside the VNET then you can deploy a VM with a public ip address. If you do that then the VM firewall is what protects the VM, In addition you can also apply Network Security groups around the VM NIC or the subnet the VM sits in to apply additional network security around it.
Getting to endpoints has changed yet again.
Here are the basic steps to get to endpoints: Virtual Machines -> your machine -> overview -> resource group -> -nsg (little shield) -> inbound security rules.
Detailed steps to find the endpoints with images can be found in this article for deploying Meteor to Azure: https://medium.com/@adammoisa/how-to-deploy-a-meteor-app-to-an-azure-vm-with-mup-on-the-new-azure-interface-da49652a59d
For the new Virtual Machines in the azure preview portal, you should be able to open up firewall endpoints by using inbuilt 'Windows Firewall With Advanced Security'