Add support for listening on a specific address or list of addresses
--------------------------------------------------------------------

                 Key: PAXWEB-88
                 URL: http://issues.ops4j.org/jira/browse/PAXWEB-88
             Project: Pax Web
          Issue Type: Improvement
          Components: HttpService
    Affects Versions: 0.4.1, 0.4.0, 0.3.1, 0.3.0, 0.2.3, 0.2.2, 0.2.1, 0.2.0
            Reporter: Jonathan Mort
            Assignee: Alin Dreghiciu


It is possible to specify the port for jetty to listen on but not the network 
address. Add support for a configuration property such as 
org.ops4j.pax.web.listening.addresses which takes a list of addresses to listen 
on. e.g.

org.ops4j.pax.web.listening.addresses=localhost 
or
org.ops4j.pax.web.listening.addresses=192.168.1.0,10.0.0.1,hostname
or
org.ops4j.pax.web.listening.addresses=0.0.0.0

This property would be simply passed to the Jetty Connector instance when the 
Connector is added to the JettyServer.

The default behavior would be unchanged (i.e. the server would listen on all 
addresses).

The reason for this improvement request is it is a project I am working on will 
be running on an embedded like system and it is a requirement to only listen on 
one of three available addresses.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to