[solved] IPv6 via httpd.conf

optize

Well-Known Member
#1
I have this in my httpd.conf;

Listen [2001:470:4:50d::2]:80

Which, should tell Litespeed to listen on the IPv6 interface, but it doesn't bind at all, only IPv4.

What else needs to be done to get Litespeed to listen on IPv6?
 
Last edited by a moderator:

priestjim

Well-Known Member
#6
Hi,

In the interest of not opening a new topic on IPv6 support, I have recently upgraded to Plesk 10.3 and I am getting these errors on a Litespeed 4.1.1 (latest build) server:

[/usr/local/psa/admin/conf/generated/13107367410.86250300_horde.include:301] Listener for [(ipv6 ip here)]:443 is not available!

a LOT of times. What could be happenning? The IP is alive and pingable from the outside but remote connections to the host at ports 80 and 443 are refused.
 

mistwang

LiteSpeed Staff
#7
Can you locate IPv6 related configurations httpd.conf?
Is there any IPv6 address listened by web server, check with

netstat -anp | grep LISTEN
 

priestjim

Well-Known Member
#8
Hi,

No, no LSWS process is listening on IPv6 interfaces. The configuration files are autogenerated by Plesk and are valid:

Code:
NameVirtualHost [2xx2:xx00:1::10]:80
NameVirtualHost [2xx2:xx00:1::5]:80
NameVirtualHost [2xx2:xx00:1::6]:80
NameVirtualHost [2xx2:xx00:1::7]:80
NameVirtualHost [2xx2:xx00:1::8]:80
NameVirtualHost [2xx2:xx00:1::9]:80
NameVirtualHost [2xx2:xx00:1::10]:443
NameVirtualHost [2xx2:xx00:1::5]:443
NameVirtualHost [2xx2:xx00:1::6]:443
NameVirtualHost [2xx2:xx00:1::7]:443
NameVirtualHost [2xx2:xx00:1::8]:443
NameVirtualHost [2xx2:xx00:1::9]:443

    <VirtualHost \
        [2xx2:xx00:1::10]:443 \
        [2xx2:xx00:1::5]:443 \
        [2xx2:xx00:1::6]:443 \
        [2xx2:xx00:1::7]:443 \
        [2xx2:xx00:1::8]:443 \
        [2xx2:xx00:1::9]:443 \
    >
 

mistwang

LiteSpeed Staff
#10
Please do force reinstall of 4.1.2 , and make sure Apache httpd.conf uses directive

Listen [::]:80
Listen [::]:443

to explicitly bind to IPv6 addresses.
 
Top