@mirkofranco, thanks for the solution it worked for. The thing to note is make sure that serviceType: "service" and Bonjour services is initialised with values _service._tcp and _service._udp. The values are important and they need to be set accordingly.