[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [leshan-dev] Help for IPV6 connection
|
If you just want to configure Leshan Standalone, you can use
environment variable :
COAPIPFACE for Coap interface (format "hostname:port", see
https://docs.oracle.com/javase/7/docs/api/java/net/InetAddress.html#getByName%28java.lang.String%29
for the hostname format)
COAPSIPFACE for Coap on DTLS interface (same as COAPIPFACE)
PORT for http port of standalone web server (format "port")
E.g. : export COAPIFACE=*:5500 && export PORT=8081
&& java -jar
target/leshan-standalone-*-SNAPSHOT-jar-with-dependencies.jar
If you wan to use the API and code you own server, use
LeshanServerBuilder and take a look at the LeshanStandalone as
example.
Le 19/08/2015 18:28, Alexandru Razvan
Caciulescu a écrit :
One more thing: if i want to change the address or
port where the server is listening how would I do that ?
I tried to edit the following files : LeshanStandalone.java
, LeshanServerBuilder.java and LwM2mBootstrapServerImpl.java,
then recompiled and ran following the instructions and i
noticed the changes i made aren't present. How should I do
this correctly ?
Thank you,
Alex
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev