Hello. For the first time engaged azure. Installed a virtual machine that without the prefix "classic"

Centos 7 deployed on it. Created a security group and opened incoming ports: 80 and some other

On centos installed php 7, httpd, mysql

All services are started normally, but I can not access the site, say, from my home PC. What am I doing wrong? If you connect from the home PC via telnet to port 22, everything is OK (it is understandable, the default port of Azura is the only open port), but on port 80 the connection does not go. Firewall is disabled. Tell me in which direction to dig? Thank you very much

    1 answer 1

    Everything you do is so. Just in Azure, virtual ports have all ports blocked by default except RDP on Windows and SSH machines on Unix machines. You need to open the ports not on the machine itself, but on the virtual network map through the portal.

    If you created the machine through the new portal using the resource manager, you can open the ports as follows: VM -> Network Interfaces -> Select the interface through which communication with the outside world -> Network Security Group -> click is likely to a single group -> Inbound security rules -> Add -> well, and add all the necessary ports to you.

    enter image description here enter image description here

    If you created cars through the old portal, then there is easier. VM -> Endpoints -> add the ports you need.

    • the problem is that my ports are open - Himu