It’s routine for an IP-connected computer—this includes iPhone and iPad—to be listening on more than one IP address, with the IPv4 broadcast address, an IPv4 address, the localhost addresses (usually 127.0.0.1, but technically 127/8), and usually one and variously more IPv6 addresses including the IPv6 localhost ::1/128 active.
If you are at all worried about your security, update your iPhone to current iOS!
Worrying about getting hacked while the current iOS is far behind current is… inauspicious. While it is possible to get hacked on even current versions (though comparatively unlikely), older versions can have more widely-known exploits. For best security, stay current.