users@glassfish.java.net

Re: Glassfish won't start because port 4848 is in use, however nothing is listening on port 4848 . . .

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 08 Nov 2012 12:29:29 -0800

I had a problem when I re-logged in into my mac when GF was running. I
think I used 'ps -A |grep 4848' to find it (but may be there were mo
args to ps).

-marina

Joe Di Pol wrote:
>
> One common cause of this is that the system can't resolve the system's
> hostname. So you may want to make sure /etc/hosts looks good, and that
> the system can resolve the system's hostname to an IP.
>
>
> On 11/8/12 11:53 AM, Tom Mueller wrote:
>> Note that GlassFish interprets a failure to bind to port 4848 as
>> meaning that some other process is listening on it. It is possible
>> that the bind failed for some other reason.
>>
>> Tom
>>
>