Apr 9, 2018

How to fix: There is a process already using the admin port of GlassFish server

To fix There is a process already using the admin port of GlassFish server

If you encounter:
There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server.

You need to add your host name into /etc/hosts to 127.0.0.1 to the end of the string, even you can see correctly see your host name by running: