When you try to start Payara 5 / GlassFish with:
...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:
Add the following line to the