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:

Featured Post

When you copy an AWS EC2 snapshot, you can choose to encrypt the copy

Encrypted Snapshots When you copy a snapshot, you can choose to encrypt the copy (if the original snapshot was not encrypted) or you can s...