title: How To open ports on Ubuntu in Google cloud platform
body: <p>I am trying to run an ubuntu apache server on Google cloud platform, I have created the VM instances but I can't connect to any other port apart for from 80 and 22.
  Here are all the things I've tried so far:</p>
  
  <ul>
  <li><p>Created Firewall rules to allow ingress traffic to ports 21,20 and 443.<a href="https://i.stack.imgur.com/jDtyI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jDtyI.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>Created FireWall rules on the Ubuntu Machine itself</li>
  </ul></li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/YuC2z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YuC2z.png" alt="enter image description here"></a></p>
  
  <p>The only ports that seem to be open are the 80 and 22.</p>
  
  <p><a href="https://i.stack.imgur.com/FTe21.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FTe21.png" alt="enter image description here"></a> </p>
  
  <p>I also allowed both HTTP and HTTPS access in the VM settings
  <a href="https://i.stack.imgur.com/VBWu0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VBWu0.png" alt="enter image description here"></a></p>
  
  <p>So Basically, what I am trying to do is to open ports on my server. I'm not sure what am doing wrong.  </p>