Page 1 of 1

IPv6 dual stack host

PostPosted: Fri Sep 28, 2012 9:05 am
by Elwell
Hi folks

I'm running serviio (1.0.1) on a Fedora linux box which is dual stack ipv4/ipv6 enabled (decent ISP :-)

However serviio only binds to the ipv4 address

[root@mythic ~]# netstat -pant | grep java
tcp 0 0 192.168.1.251:44331 0.0.0.0:* LISTEN 13858/java
tcp 0 0 0.0.0.0:8895 0.0.0.0:* LISTEN 13858/java
tcp 0 0 0.0.0.0:23423 0.0.0.0:* LISTEN 13858/java
tcp 0 0 0.0.0.0:23424 0.0.0.0:* LISTEN 13858/java

I know the startup script has
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME"

but is removing the java.net.preferIPv4Stack=true define all I need to do?
will it then bind to both 0.0.0.0 and :: ?

Many thanks

Andrew

Re: IPv6 dual stack host

PostPosted: Sat Sep 29, 2012 10:22 am
by zip
No, it only binds to the one IP.