skip to Main Content

I am trying to configure an Apache web server on the Google Cloud platform, in a compute engine instance. My problem is, that I can not reach my web server.

In the VPC network, if I open all the ports, then I get connection refused. If I only open the TCP 80 port, then I get connection timeout. I tried to delete the instance and start a new, the result is the same. With the default http rules I also get connection refused.

Firewall setting on the Google Cloud platform:
Firewall setting on the Google Cloud platform

Info from the VM instance:
dsffds
fdsasd

2

Answers


  1. Chosen as BEST ANSWER

    Oh, guys, sorry for a spam question. I just wasn't paying enough attention. On the VM instances page I clicked on the external IP, and it opened a page. But it tried to connect through https instead of http.


  2. you need to assign an external IP… in order to access from a public network.

    because 10.0.0.010.255.255.255 is a private class A range.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search