When "There is a process already using the admin port 4848", but it is not true

When you try to start Payara 5 / GlassFish with:

asadmin start-domain

...and you get the following error:

There is a process already using the admin port 4848 -- it could be another instance of Payara Server or Payara Micro. Command start-domain failed.

although there is no running Java process and the port is not occupied, you hostname is probably not pingable:

ping $(hostname)

output: Request timeout


Add the following line to the /etc/hosts file: [YOUR_NOT_PINGABLE_HOSTNAME]

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.

Cloudy Jakarta EE and MicroProfile: Microservices, Clouds and Beyond Jakarta EE / MicroProfile airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.


It works for me :)

Posted by THANKS on January 01, 2019 at 05:16 PM CET #

Thanks alot, Adam. That saved me.

Posted by ThankYou on February 21, 2019 at 06:16 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments