UITS

How do I determine my computer's IP address?

The easiest way to determine your computer's IP address is to visit WhatIsMyIP.com. The site will display your IP address and other information about your system. If the page does not appear, you may not have a working Internet connection and should try one of the methods below.

Windows 8.x

  1. Press Win-r.
  2. Type cmd and press Enter.
  3. At the command prompt, enter:
      ipconfig

    The IPv4 address will be a series of numbers following the pattern xxx.xxx.xxx.xxx (e.g., 156.56.27.32).

Windows 7 and earlier

  1. Click Start, and then select All Programs.
  2. Click Accessories, and then Command Prompt.
  3. At the command prompt, enter:
       ipconfig

    The IP address (or IPv4 address) will be a series of numbers following the pattern xxx.xxx.xxx.xxx (e.g., 156.56.27.32).

Mac OS X

  1. From the Apple menu, select System Preferences.... In System Preferences, from the View menu, select Network.
  2. In the Network preference window, click a network port (e.g., Ethernet, AirPort, Wi-Fi). If you are connected, you'll see your IP address under "Status:".

Unix-like OS

In many Unix-like operating systems (e.g., Ubuntu, RHEL, OS X, BSD), a shared system administration utility known as ifconfig is available to configure, control, and query TCP/IP network interface parameters from a command-line interface (CLI). Typically, ifconfig can only be used under a superuser account in your terminal.

To obtain your IP Address from ifconfig, enter the following command:

ifconfig

A list of all your network interfaces will appear. Following the heading of the interface whose IP address you're searching for, you will see a "inet addr:" section containing your IP address.

You can usually obtain more information with the command:

man ifconfig

Related documents

This is document aapa in the Knowledge Base.
Last modified on 2014-05-22.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.