Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

localhost vs real ip address

Tags:

People also ask

Is localhost and IP address the same?

Localhost is a hostname that refers to the local machine currently making the request. On many computers, localhost is an alias for the IP address 127.0. 0.1. When a computer pings this IP address, it is communicating with itself.

What is the difference between IP address and local IP?

An external or public IP address is used across the entire Internet to locate computer systems and devices. A local or internal IP address is used inside a private network to locate the computers and devices connected to it.

What is the localhost IP address?

In [techie] talk " A localhost is a Internet Protocol loopback device which can be used by TCP/IP applications to talk to themselves." The default internal loop IP for the localhost is usually 127.0. 0.1 . This IP is different from the IP that identifies the computer on the network.

Is localhost a public IP?

0.1 only serve locally not serve over public Ip.


What is the difference between the localhost and the real ip address?

If I access an application by using http://localhost:8080/index.html and http://192.123.456.001:8080/index.html (for example, 192.123.456.001 is the real ip address of the host computer), what is the difference?