Why can I ping 127.0.0.1 (Kali Linux VMware) through my PC which it's IP is 192.168.1.5? [duplicate]

127.0.0.1 is standard shorthand for "me".

It's known as the loopback address, or localhost. Every computer's 'self' can be reached at 127.0.0.1.

From Wikipedia - localhost

In computer networking, localhost is a hostname that refers to the current device used to access it. It is used to access the network services that are running on the host via the loopback network interface. Using the loopback interface bypasses any local network interface hardware.


127.0.0.1 is the loopback address on lo or similar and should exist on all systems.

You can infact ping any address in 127.0.0.0/8 with the exception of 127.0.0.0 & 127.255.255.255.