Cd33a2f4bab42c7148c8afbd94257c2ef6c3ca2e
By:
meteoncu

How can i learn my private ip address?

June 27, 2015 3.5k views
Node.js

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.

1 comment
  • As mentioned you can use ifconfig and the see the IP bound to eth0. However, you can also see your IP just by logging into you DO account area. It's listed right there.

2 Answers
ifconfig

look at inet addr for eth0

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 :)

Have another answer? Share your knowledge.