Can random people get your IP?

In the end, the simple answer is no. If someone was to get your IP address they can not find you . There are other ways you can be located but this isn't one of them. Posting your name and town online to social media would more likely tracked than by your IP address.