title: Google Cloud Compute Engine http Connection Timeout
body: <p>I have setup a compute engine VM with 2vCPU and 2GB RAM.I have setup nginx server and setup the firewalls permissions as shown in the diagram. When I try to access the angular files hosted on the server using the external IP I get the error &quot;<strong>The connection has timed out</strong>&quot; and when I try to use curl on the terminal, it displays the error &quot;<strong>curl: (28) Failed to connect to IP port 80 after 129163 ms: Connection timed out</strong>&quot;.<a href="https://i.stack.imgur.com/Pcgvy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pcgvy.png" alt="enter image description here" /></a></p>
  <p>Both the Http and Https firewall rules are enabled
  <a href="https://i.stack.imgur.com/Zsf1m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zsf1m.png" alt="enter image description here" /></a>
  Whe I run the command</p>
  <pre><code>sudo systemctl status apache2
  </code></pre>
  <p>This is the result I get
  <a href="https://i.stack.imgur.com/pzRw6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pzRw6.png" alt="enter image description here" /></a></p>
  <pre><code>netstat -tulpn | grep LISTEN
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ukiJh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ukiJh.png" alt="enter image description here" /></a></p>
  <pre><code>enter code here
  </code></pre>
  <p>Any ideas on what the issue might be will be really helpful</p>