I want to run Hiawatha on port 80 on all IPv6 interfaces.
However, when I try to do this, I get a "listen(http(s)): Address already in use" error, and the server ends up not running at all.
The relevant section of the config file is:
Binding {
Port = 80
Interface = 0.0.0.0
# MaxKeepAlive = 30
# TimeForRequest = 3,20
}
Binding {
Port = 80
Interface = ::
}
It can bind to ::1 (IPv6 localhost), and if I specify any other specific IPv6 addresses in the config file, it'll bind to those without a problem, but that isn't a solution since those IPs change each time I reboot.
Bonus question: I know that port forwarding isn't needed with IPv6. But how do I access my server from the internet via IPv6?
Hiawatha version: 9.9
Operating System: Ubuntu 14.04.1 LTS