Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] How to Jetty server listen on multiple IP addresses


On Thu, May 11, 2023 at 12:19 PM ihonda--- via jetty-users
<jetty-users@xxxxxxxxxxx> wrote:
> Requirement is we want this configuration flexible. For example, we want to
> listen on multiple addresses on the interface.
> This kind of setting is not valid.
> How can I enable listen(bind) on multiple host address ?

Use different `ServerConnector` instances with each a different host,
but all having the same port and the property

You can write a custom module following these instructions:

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.

Back to the top