Linux find ip address of server

Learn three methods of finding the IP address of your server or website. Use a lookup service We host a global DNS checker on our website.

How to Find the IP Address of a Website in Linux

Click Lookup. Press Enter.


  • Configuring an Additional IP Address on a Linux Server.
  • 728 car jpg revise search shoes used.
  • networking - How do I find my internal ip address? - Ask Ubuntu!
  • reverse cell phone directory lookup 20.

How could we improve this answer? Table of Contents. For this you need to follow the steps mentioned below:.

Was this article helpful?

As soon as you will press enter, a lot of information will be displayed on the terminal screen. From the displayed information below, the highlighted rectangle shows the IP address of your device besides the field of inet addr. The ifconfig command works in the same way for finding the IP address of a device using terminal in Linux as ipconfig command works for finding the IP address of a device using command prompt in Windows.


  • 4 Ways to Find Server Public IP Address in Linux Terminal?
  • Find Your Public IP Address.
  • Four ways to find your current IP Address in Linux!
  • How To Configure Static IP Address In Linux And Unix - OSTechNix.

The method four for finding the IP address of your device makes use of yet another terminal command. For this method, you need to follow the following steps:.

As soon as you will press enter, the IP address of your device will be displayed on the terminal right below your entered command. This is shown below:. By making use of any of the methods listed above, you can find the IP address of your device very easily and enable a very safe and secure network communication through it.

IP address gives an identity to your device so that you can recognize it whenever you want to.

How to find i.p address of our server

Once you know the IP address of your device, you are free to interact with any other device that is connected to the same network to which you are connected. I hope that this article will help you a lot in future. Skip to content Many times it happens that you feel the need of knowing the IP address of your device. Four ways to find your current IP Address in Linux Following are the four methods through which you can find the IP address of your device: Method 1: On the Desktop The first method of finding the IP address of your device is through the Linux desktop interface.

What is a DHCP Server?

You always need either hostname or IP address to connect to any host. Sometimes you want to find the IP address of the localhost, some time IP address of another host on the network, etc. We have shown some techniques to find the IP address from hostname in UNIX and here we will see is a particular list of UNIX commands to get the IP address of localhost or host on which you are working along with any other host for which we know hostname. Let's see an example of ifconfig command to find The IP address of localhost on which you are working :. As I said ifconfig command shows a lot of details but I have only included relevant inet one if you have more than one network card attached to that host, you may see more than one inet address corresponding to each of them.

The main drawback of ifconfig command in UNIX is that you can only get the IP address of localhost from this command, you can not get the IP address of any other host. Our plain old ping command can also be used to find the IP address of the localhost or any other host provided you know the hostname.

4 Ways to Find Server Public IP Address in Linux Terminal

Ping is actually one of the of 10 useful networking command in UNIX, see that link for other commands. We have seen examples of getting the IP addresses from the hostname by using ipconfig , ping , hostname, and nslookup command. If one command is not working in your machine, you can always use other command or you can simply cross-check the IP address by using multiple UNIX commands.

Ubuntu Server 14.04 Static IP Address