archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Archiva 2.1.0 standalone only works on 127.0.0.1
Date Mon, 25 Aug 2014 03:51:04 GMT
Hi
Open the file conf/jetty.xml

Then find
    <Call name="addConnector">
      <Arg>
          <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
            <Set name="host"><SystemProperty name="jetty.host"/></Set>
            <Set name="port"><SystemProperty name="jetty.port"
default="8080"/></Set>
            <Set name="maxIdleTime">30000</Set>
            <Set name="Acceptors">2</Set>
            <Set name="statsOn">false</Set>
            <Set name="confidentialPort">8443</Set>
            <Set name="lowResourcesConnections">5000</Set>
            <Set name="lowResourcesMaxIdleTime">5000</Set>
          </New>
      </Arg>
    </Call>


And replace with             <Set name="host">192.168.1.10</Set>

HTH
Olivier

On 25 August 2014 06:46, Kenneth Øst <kenneth.oest@gmail.com> wrote:
> Hi users of Archiva
> I can only get to Archiva from 127.0.0.1. The server has two NIC's and I
> only want to have it started on eg. 192.168.1.10
> What should I do to make it run on that IP instead of only localhost?
>
> Best regards
> Kenneth



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Mime
View raw message