An IP address only provides general geolocation data (city or region) and does not reveal a person's exact physical home address. Security Upgrades:
Your IPv4 IP address, subnet mask, and gateway will be listed on the right side of the screen. Alternative (Router)
Software like Wireshark can capture data packets directly if you are in a Peer-to-Peer (P2P) connection with the target, such as in certain older games or voice chats.
This method requires sending a "tracking link" to the target. If they click it, their IP is recorded by the third-party site. This does not involve Xbox's network directly and relies on the user being tricked into clicking the link.
Finding a person's IP address through their Xbox Gamertag is difficult because Microsoft has significantly upgraded its security to mask this data