# How to - a desktop app uses autodiscovery, to open a browser then contact a web app at that IP?

**URL:** <https://forum.xojo.com/t/how-to-a-desktop-app-uses-autodiscovery-to-open-a-browser-then-contact-a-web-app-at-that-ip/37990>\
**Category:** General\
**Created:** [June 3, 2017, 7:03am UTC](https://forum.xojo.com/t/how-to-a-desktop-app-uses-autodiscovery-to-open-a-browser-then-contact-a-web-app-at-that-ip/37990 "2017-06-03T07:03:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Seyfarth](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/d26b3c/32.png) [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Post date:** [June 3, 2017, 7:03am UTC](https://forum.xojo.com/t/how-to-a-desktop-app-uses-autodiscovery-to-open-a-browser-then-contact-a-web-app-at-that-ip/37990/1 "2017-06-03T07:03:58Z")

</div>

Hello all.

I want to create desktop app that connects to a LAN based, headless web app using auto-discovery. From the IP gained through that connection, I want to open the default browser and launch the web app.

Has anyone every done that? Any sample code or ideas how to do this?

Thanks all,  
Tim

---

<div class="post-metadata">

**Author:** ![Aurelian\_N](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@Aurelian\_N](https://forum.xojo.com/u/Aurelian_N)\
**Post date:** [June 7, 2017, 5:56am UTC](https://forum.xojo.com/t/how-to-a-desktop-app-uses-autodiscovery-to-open-a-browser-then-contact-a-web-app-at-that-ip/37990/2 "2017-06-07T05:56:55Z")

</div>

Well as you just said , use AutoDiscovery.

Have the server listen and broadcast the code, once client enrols , have the server to send a message to broadcast the ip or other trigger, then client side parse the data and process, then fire the app .

And to get an idea, you have a full working app on the Examples -\> Communication -\> Internet -\> Autodiscovery project , have a look there.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:47pm UTC](https://forum.xojo.com/t/how-to-a-desktop-app-uses-autodiscovery-to-open-a-browser-then-contact-a-web-app-at-that-ip/37990/3 "2020-10-29T18:47:51Z")

</div>


