How to communicate with listener (without using raspberry)

I used this topic 1for solving the problem with MQTT. Also tried 1885, 1883 ports. 1883 worked for getting tag location.
Still I don’t really understand how we can get tags’ positions via listener without using Raspberry.