Report this

What is the reason for this report?

How can i learn my private ip address?

Posted on June 27, 2015

I have tried many things on console to learn my private ip address however I could not succeed. What should I input in to console to learn it? I will use it for node.js.



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!

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.

I didn’t know that the ip which seems after logging into DO is my private ip address. I have learned it’s my private ip after tried to connect. Also ifconfig works, as well. Thank you for your answers :)

ifconfig

look at inet addr for eth0

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.