# Why the URL to launch an application contains "DESKTOP-..." instead of localhost?

**URL:** <https://forum.payara.fish/t/why-the-url-to-launch-an-application-contains-desktop-instead-of-localhost/887>\
**Category:** Technical Discussion\
**Created:** [August 6, 2024, 5:04pm UTC](https://forum.payara.fish/t/why-the-url-to-launch-an-application-contains-desktop-instead-of-localhost/887 "2024-08-06T17:04:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ric](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@ric](https://forum.payara.fish/u/ric)\
**Post date:** [August 6, 2024, 5:04pm UTC](https://forum.payara.fish/t/why-the-url-to-launch-an-application-contains-desktop-instead-of-localhost/887/1 "2024-08-06T17:04:13Z")

</div>

Hello,  
I don’t know what modification I made but, now, when I deploy an application to Payara (version 2024.7 or 2024.5), the URL used to launch the application contains “DESKTOP-…:8080” instead of the old URL “localhost:8080”. My IDE is IntelliJ IDEA.  
Can you help me, please.

---

<div class="post-metadata">

**Author:** ![paubrecht](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@paubrecht](https://forum.payara.fish/u/paubrecht)\
**Post date:** [August 7, 2024, 9:36am UTC](https://forum.payara.fish/t/why-the-url-to-launch-an-application-contains-desktop-instead-of-localhost/887/2 "2024-08-07T09:36:31Z")

</div>

Hello Ric,  
The plugin tries to find the computer’s name and uses it in the address. But it’s easy to override it – just change it to `localhost` in the Run/Debug Configuration (Open Browser/URL):  
[https://docs.payara.fish/community/docs/documentation/ecosystem/intellij-plugin/payara-server.html](https://docs.payara.fish/community/docs/documentation/ecosystem/intellij-plugin/payara-server.html)  
Petr

---

<div class="post-metadata">

**Author:** ![ric](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@ric](https://forum.payara.fish/u/ric)\
**Post date:** [August 7, 2024, 2:33pm UTC](https://forum.payara.fish/t/why-the-url-to-launch-an-application-contains-desktop-instead-of-localhost/887/3 "2024-08-07T14:33:45Z")

</div>

Thank you Petr for your help.

I think I have found out the reason of my problem: the first time I deployed the application from the admin console of Payara and not by clicking on Run in IntelliJ.

I have just undeployed the application in the admin console of Payara and launched a run from intelliJ, which deploys the application, and **it works now** : the URL with localhost is used by the application. Oddly enough, the URL with DESKTOP-9R… in the links is still displayed by the admin console of Payara for the application.

Best regards,

Richard

---

<div class="post-metadata">

**Author:** ![paubrecht](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@paubrecht](https://forum.payara.fish/u/paubrecht)\
**Post date:** [August 12, 2024, 8:41am UTC](https://forum.payara.fish/t/why-the-url-to-launch-an-application-contains-desktop-instead-of-localhost/887/4 "2024-08-12T08:41:10Z")

</div>

Hello Richard,  
Yes, Payara definitely uses computer’s name to create a link. It is useful, when you access Admin UI from a remote computer.  
During development, using IDE plugin is definitely far more effective.  
Petr
