What is my local IP?

How to find localhost IP?

As a general rule, you're supposed to be able to find localhost at 127.

0. However, as you've discovered, it's not always the case (in some older versions of Windows, for example).

If you have a local machine, however, you can find its IP address by using the netstat tool. You'll find it in the columns for the listening TCP sockets. Here is what my machine looks like when I run netstat on it (I'm connected to a VPN, so I can't access it from outside):
Proto Local Address Foreign Address State. TCP 192.168.104:55592 10.100:49745 LISTENING
TCP 192.104:53333 10.104:50001 10.104:50011 10.104:50021 10.104:50009 10.104:50029 10.104:50039 10.104:50049 10.

How do I find my IP address in terminal?

kostkon: you probably want either eth0 or lo.

which is the gateway to the internet for most of us. If that's not what you mean, this may not help.
"route -n" may or may not show this. "ip addr show" will most likely show it as well. nacc, no, that was a user issue, not a problem with package. I'd expect to see something in my .xsession-errors about why it crashed. I only had one xchat window running; but I'd like to be able to do more with xchat/xfce than just start it; I'm sure I did some changes to it on install to let me
kostkon: also, you can use "ip route show". tomreyn, there are two entries. One for the link for eth0 and one for the lo interface.
ok, thanks. nacc, yeah, sorry; I'll dig out the logs from xchat; one moment (it's in ~). now, if I type sudo ipconfig in a terminal it lists only the lo interface. I'll have to do it without sudo, right? guiverc: ah ok, so maybe you did a bad version of xchat? nacc, yes; I didn't know which way I needed to do it - I thought it had been installed; I'm trying to be careful. nacc, okay output from last session with 'xchat' -- there's nothing wrong (well I don't see how anything could be) & i'm using 14.04.4
(i don't have a /var/log/xchat directory). !info xchat. xchat (source: xchat): IRC client for X similar to AmIRC. In component universe, is optional. Version 2.8.

How do I find my MAC and IP address?

There are several ways to find your MAC and IP address.

I am listing these below: 1) The easiest way is to use a free online resource that will show you what information you need. This is useful if you have a dynamic IP address or your network administrator does not know your current IP address. There are also free DNS tools that will show your external and internal IP addresses. There are some good online DNS services that are free:

If you have an internal IP address then the best way to get the MAC address is to get the NIC information in the Server Manager in the computer management console. Here are the steps: 1) Start the Computer Management console. The Computer Management console will have a link in it for all your server resources on the network.

2) In the left hand pane of the Computer Management console, select Hardware. 3) In the resulting window, select Network Adapters. 4) In the resulting window, the IP address will be the first column, and the MAC address will be in the second column. On a Windows Server 2008R2 with IPv6 enabled, if you are running on the server without a DHCP address assigned (DHCP is disabled), you must create the server configuration manually using New-NetIPAddress cmdlet. Here are the steps to get a DHCP IP address for the server: 1) Start the Server Manager. 2) Select Tools > New > Command Line. 3) Type "new-netipaddress -allocationmethod static" and press Enter. 4) You will see the result as follows. Press Enter to select the IPv6 address.

Note: You should also set the Gateway and DNS address if you want to assign them to the server. See Get the correct DNS and Gateway IP Address for more details.

What is my local IP?

I'm doing some performance tests on my website.

I want to set up a local web server, then use CURL to test my site's load times, using localhost instead of the server's real IP address. How can I get my IP address?

You can use this command to get the IP address of your computer: curl. On Mac OSX, you can use the Mac utility ifconfig to print out the IP and other information about your system.0:1 netmask 0xff000000 inet6 ::1 prefixlen 128. inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1. nd6 options=201. Gif0: flags=8010 mtu 1280. Stf0: flags=0<> mtu 1280. En0: flags=8863 mtu 1500. ether 02:42:dc:1b:2e:08. inet6 fe80::2c42:dcff:fe1b:2e08%en0 prefixlen 64 scopeid 0x5. inet 10.12712 netmask 0xffffff00 broadcast 10.255
inet6 fe80::42:dcff:fe1b:2e08%en0 prefixlen 64 scopeid 0x9

Related Answers

What happens if someone gets my IP address?

Here's how people can find you online. You are browsi...

What is DNS and why is it used?

DNS (Domain Name Service) is a network protocol which translates human readable hos...

Which is better private or public IP address?

I am a newbie to network stuff, so it may seem a basic questi...