localhost vs real ip address

后端 未结 4 1304
栀梦
栀梦 2020-12-05 07:47

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 ht

4条回答
  •  被撕碎了的回忆
    2020-12-05 08:43

    From Wikipedia, the pertinent points:

    Communicating with the loopback interface in an identical manner as with another computers on the network, but bypassing the local network interface hardware, is useful for the purposes of testing software.

    Connecting to locally hosted network services, such as a computer game server, or for other inter-process communications, can be performed through loopback addresses in a highly efficient manner.

    http://en.wikipedia.org/wiki/Localhost

提交回复
热议问题