geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: How to figure what port is in use from a BindException
Date Fri, 01 Feb 2008 14:35:01 GMT
I am wondering if there is anyway to find out the exact port number
resulting in the exception from the exception itself.

++Vamsi

On Feb 1, 2008 7:30 PM, Upul Godage <upulg.dev@gmail.com> wrote:

> You can use a tool like netstat to check which ports programs are
> listening on at the moment and unusable by the server instance.
> netstat -anb
> You can find which ports the server instance will use by the
> config.substitutions.properties entries.
>
> Upul
>
>
>
> On Feb 1, 2008 6:38 PM, Vamsavardhana Reddy <c1vamsi1c@gmail.com> wrote:
>
> > Very often I run into Geronimo startup failure with a BindException
> > since some port or the other is in use.  Then I change the PortOffset to get
> > going.  How do I figure which port/address is resulting in the exception?
> >
>
>

Mime
View raw message