Question

how to find my server's ip address?

how to find my server’s ip address?

i got my server name but i can not find my server ip address


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
April 2, 2020
Accepted Answer

Hi there @avanishchauhan08,

There are a few ways to do that:

  • Use the ping command to ping your hostname:
  1. ping hostname.com
  • If you are already on the server run the ip or the ifconfig commands:
  1. ifconfig
  2. ip addr

Hope that this helps! Regards, Bobby

i got my server name but i can not find my static server ip address

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

i got my server name but i can not find my server ip address