Fresh install error connection timeout

Ive just successfully installed erpnext through easy script on VM but site is not opening ERR_CONNECTION_TIMED_OUT can any one help me out with this issue.

It may help to say what version ERPNext and the operating environment. Does bench update complete without errors?

Usually this happens if your machine is underpowered. What is your CPU ad Memory?

VM is taken from Microsoft Azure vCPU 2 and 8 GiB RAM

Yes bench update successfully done still ERR_CONNECTION_TIMED_OUT

How did you install ERPNext? Easy Install or Manual?

Easy install

python3 --production

On Ubuntu 18

export LC_ALL=C.UTF-8
sudo python3 --production --user frappe --mysql-root-password mypassword --admin-password myadminpassword --verbose

You can try is to use 4 CPU 16 GB Ram when you setup.
Then, you can adjust downwards after to 2 CPU and 8 GiB Ram after install.

How big is your storage space?

The entries you can change above are:

  1. frappe (–user)
  2. mypassword (–mysql-root-password)
  3. myadminpassword (–admin-password)

After the installation, do:

sudo usermod -aG sudo frappe
sudo passwd frappe
(enter new frappe password)
su - frappe
cd frappe-bench
--> do bench comands here

Everytime you log-in, you issue the commands su - frappe and cd frappe-bench to issue bench commands.

Is it a firewall or port issue on the VM? Is the ERPNext accessible from outside ?

check port 80 using ufw status if not show then try ufw allow 80