If a message similar to the following is displayed when starting GlassFish Server on Microsoft Windows, a server port conflict has occurred:
Address already in use
This error occurs when another application is running on the GlassFish Server port (default 8080), or because a previous instance of GlassFish Server did not shut down cleanly.
You might also check the following:
If another application is using the server's port, stop the other application, then restart GlassFish Server.
Use the asadmin stop-domain command to stop the server, or explicitly kill the Java process and then restart GlassFish Server.