You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Kenneth Øst <ke...@gmail.com> on 2014/08/24 22:46:37 UTC
Archiva 2.1.0 standalone only works on 127.0.0.1
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
Re: Archiva 2.1.0 standalone only works on 127.0.0.1
Posted by Olivier Lamy <ol...@apache.org>.
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 <ke...@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