简体   繁体   中英

How to find private ip address on google cloud?

I have the option to get new public IP address on Google Cloud. But I didn't get private IP address to configure on Apache virtual host. How to find internal (private) IP address on Google Cloud?

You can learn your private IP following these steps:

  1. At the Google Cloud Platform click on Products & Services which is the icon with the four bars at the top left hand corner.
  2. On the menu go to the Compute section and hover on Compute Engine and then click on VM Instances to view all your instances.
  3. Search for your VM instance in the list and look in the Internal IP column for it to learn your VM Instance internal IP

You can also open your Cloud Shell and run this command:

gcloud compute instances describe <your-instance-name> --zone <your-instance-zone>|grep -i networkIP

-------

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM