"0: 0: 0: 0: 0: 0: 0: 1" is the IPv6 feedback address as defined in RFC 3513 .
It looks like your OS and application server are configured to use IPv6 and that you are viewing the page from the local machine.
By the way, calling getRemoteAddress () will not provide you with the IP address of the client. There may be intermediate nodes on the network whose address you can get. This is especially true for proxies and load balancers.
source share