You're not doing anything wrong. The Report to Moderator is there to tell us about any problems (although you can't report your own posts) and if you click on the number you'll see the following message:
Your IP address is shown only to you and moderators. Remember that this information is not identifying, and that most IPs change periodically.
You cannot see other members' IP addresses, and they cannot see yours.