Forum

Listening on more IPv6 IP's

Amar
6 April 2012, 22:05
Hello Hugo

Well I have 5-6 IPv6 addresses up and each site gets one. Thing is I can do Interface = one:of:the:ipv6:ips but then all other IP's/sites will be unreachable since server doesnt really know about them. Is there a 'hack' to tell Hiawatha to listen on all IPv6 IP's that are on eth0.. ?

Best

Hiawatha version: 8.1
Operating System: Debian
Hugo Leisink
6 April 2012, 22:21
The 0.0.0.0 equivalent for IPv6 is ::. Try the following setting:
Binding {
...
Interface = ::
}
Amar
6 April 2012, 22:39
when I do that it says:


listen(http(s)): Address already in use


I have this in my hiawatha.conf



Binding {
Port = 80
EnableAlter = yes
MaxRequestSize = 10240
}

Binding {
Port = 80
Interface = ::
MaxRequestSize = 10240
}
Hugo Leisink
6 April 2012, 22:41
The first binding has no interface setting, so it listens to all, including IPv6. Add 'Interface = 0.0.0.0' to it.
Amar
6 April 2012, 22:47
Added, same thing:

listen(http(s)): Address already in use

and Hiawatha is not started

Hugo Leisink
7 April 2012, 13:27
Hmm, looks like binding to 0.0.0.0 blocks the binding to ::. I'll take a look at this issue. For now, I'm afraid you'll have to specify a binding for each IPv4 and IPv6 address that your server has.
Amar
7 April 2012, 13:33
Okay, I 'll do that just let me know when you have fix. Maybe 8.2 with this and that fcgi 'issue' ? : )

Hugo Leisink
7 April 2012, 13:41
Please, subscribe to the Hiawatha mailinglist to get informed about new releases.
This topic has been closed.