directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Walding <...@walding.com>
Subject Re: apacheds-0.8 not binding to all interfaces
Date Thu, 07 Apr 2005 02:13:02 GMT
Should have said:
java -jar apacheds-main-0.8.jar

Ben Walding wrote:

> Hi,
>  I was wondering if there was a way to make apacheds-main (0.8) to 
> bind to all interfaces rather than just randomly picking one 
> (something based on hostnames as far as I can tell).
>
>  eg. on my Windows XP box (JDK 1.5) it starts up ok
> java -jar apacheds-0.8.jar

this is actually
java -jar apacheds-main-0.8.jar

> server: using default properties ...
> server: started in 1906 milliseconds
>
> However then the server only listens on interface 192.168.0.4.  I'd 
> prefer that it listened on every interface or was at least 
> controllable (I'm using it as a test ldap server, I'd rather set 
> 127.0.0.1 so my tests don't change when I switch IP addresses)
>
> Running on Linux (SuSE 9.1, JDK 1.5) it starts up ok and was only 
> listening on 127.0.0.1.  I managed to change the hosts file so that it 
> listened on the external IP address (it's a server on my local network 
> - I want it on the public IP now).
>
> my hosts file originally looked like
> 127.0.0.1 localhost ldaphost
> to change binding to 192.168.0.2, I changed it to
> 127.0.0.1 localhost
> 192.168.0.2 ldaphost
>
>
> Any thoughts?
>
> Cheers,
>
> Ben
>


Mime
View raw message