How to Find Ip Address of Someone Else?

The only way to legally get someone else’s IP address is to have access to server logs that record IP addresses when someone views a page.