Frequently Asked Questions

My VM cannot connect to the internet.
Last Updated about a month ago

Test whether your problem is actually an internet connection, or DNS. From the VM, run the following commands:

# ping www.google.com
# ping 8.8.8.8

Successful responses look something like this:

64 bytes from lga15s47-in-f4.1e100.net (172.217.4.68): icmp_seq=2 ttl=53 time=25.6 ms

If the first command doesn’t work, but the second one does, your problem is DNS. Check the contents of /etc/resolv.conf. Does the line nameserver 128.31.24.11 and 12 appear on separate lines? If not: go to Network–>Networks, click the relevant private network, and click Edit Subnet next to the relevant subnet. Make sure 128.31.24.11 128.31.24.12 is entered in the Nameservers box on separate lines. and edit the relevant private subnet. There are more detailed instructions on the Set Up a Private Network page of the tutorial.

If you can’t ping 8.8.8.8, check that your security groups are allowing outgoing traffic.

Please Wait!

Please wait... it will take a second!