Ok, stupid question I admit it... Just use CoyoteConnector class, that
has the getPort

On 10/26/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote:
Hi,

I'm using a embedded tomcat configuration, and I'm creating a
Connector with a dynamic port by passing the port value as zero. But
now I want to know on wich port the connector is listening for
requests.  But I'm using (and I need to use) Tomcat 5.0, but If my
Tomcat version were 5.5, I would have available the getPort method of
the Connector class. But unfortunely the  version I'm using doesn't
have this method. Any guesses of how can I determine the connector
port?

Any help is apreciated.

Best regards,
Miguel Ricardo


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to