is localhost an ip address are same code example Example: localhost ip localhost uses the ip address 127.0.0.1