You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Tony Collen <tc...@neuagency.com> on 2003/04/08 23:02:45 UTC

[OT] [Jetty] Configuring Jetty to listen on a different IP

Slightly OT, Upayavira told me I should check her..

Basically, I want Jetty to listen only on 127.0.0.1, instead of all ip
addresses, as is the default.  Anybody know how to get Jetty to do this?
(Pier??)  I see $JETTY_PORT but nothing like $JETTY_ADDR.  Or perhaps this
is better asked on a jetty list?

Tony

--
Tony Collen
ICQ: 12410567
--
Cocoon: Internet Glue (A Cocoon Weblog)
http://manero.org/weblog/
--


Re: [OT] [Jetty] Configuring Jetty to listen on a different IP

Posted by Tony Collen <tc...@neuagency.com>.
On Tue, 8 Apr 2003, Pier Fumagalli wrote:

<snip/>

> http://jetty.mortbay.com/javadoc/org/mortbay/http/HttpListener.html#setHost(
> java.lang.String)
>
> Or converted in the Jetty configuration format:
>
> <Set name="host">1.2.3.4</Set>
>
> Just underneath that <Set name="port"> ... </Set>

Pier,

Thanks!   For some reason I had a heck of a time tracking that down.  I
appreciate the help.


>
>     Pier
>
>

Tony

--
Tony Collen
ICQ: 12410567
--
Cocoon: Internet Glue (A Cocoon Weblog)
http://manero.org/weblog/
--


Re: [OT] [Jetty] Configuring Jetty to listen on a different IP

Posted by Pier Fumagalli <pi...@betaversion.org>.
On 8/4/03 10:02 pm, "Tony Collen" <tc...@neuagency.com> wrote:

> Slightly OT, Upayavira told me I should check her..
> 
> Basically, I want Jetty to listen only on 127.0.0.1, instead of all ip
> addresses, as is the default.  Anybody know how to get Jetty to do this?
> (Pier??)  I see $JETTY_PORT but nothing like $JETTY_ADDR.  Or perhaps this
> is better asked on a jetty list?

http://jetty.mortbay.com/javadoc/org/mortbay/http/HttpListener.html#setHost(
java.lang.String)

Or converted in the Jetty configuration format:

<Set name="host">1.2.3.4</Set>

Just underneath that <Set name="port"> ... </Set>

    Pier