QT-DevOps / AzureIssues

This repository is for questions
8 stars 27 forks source link

Unable to open the public ip in the browser #73

Closed vanurama2 closed 4 years ago

vanurama2 commented 4 years ago

Hi , Create a Virtual Machine Connected the VM using github and executed the below commands

sudo apt update sudo apt install stress –y sudo apt install apache2 –y sudo apt install php libapache2-mod-php php-mysql –y sudo systemctl enable apache2 sudo systemctl restart apache2 sudo nano /var/www/html/info.php <?php phpinfo(); ?>

sudo systemctl restart apache2

Below URL entered in the browser http://13.68.152.195/info.php The Error message "This site can’t be reached" was displayed

srmanikanta commented 4 years ago

check 80 port is opened or not in network security group and try http://:80 it displays default home page for webserver once the homepage is displayed then try http::80/info.php Note: execute this command ping <publicip> this for checking the network connection. and above is verified then update the isuue.

vanurama2 commented 4 years ago

Can u share screen shot or provide steps, where can find the network security tab to check port 80 is enabled or not

On Thu, 23 Apr 2020, 16:37 srmanikanta, notifications@github.com wrote:

check 80 port is opened or not in network security group and try http://:80 it displays default home page for webserver once the homepage is displayed then try http::80/info.php Note: execute this command ping this for checking the network connection. and above is verified then update the isuue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QT-DevOps/AzureIssues/issues/73#issuecomment-618338489, or unsubscribe https://github.com/notifications/unsubscribe-auth/APDUYBH3YVCFI4U3ZBBUKWDROAON7ANCNFSM4MOXNUFA .

srmanikanta commented 4 years ago

please follow issue no:71

vanurama2 commented 4 years ago

Now, Working fine.