Yup, there’s lots of ways to find your own/other’s IP!
I tracked down a troll on another forum years back by using an image on a website I had in one of my posts. So when he replied at a certain time, I checked my websites logs to see who “called up” that specific image at the times he posted back to me. I traced him down to pretty much the bldg he was in. Great good fun! He was posting using several names to be his own sockpuppet fake amen corner - they all traced back to the same bldg.
This is a good site to tell you about your device and what info it might be “leaking” (it’s a safe site and great for security testing)-
https://www.grc.com/x/ne.dll?bh0bkyd2