[solved] IPv6 via httpd.conf

Discussion in 'General' started by optize, Jan 26, 2011.

  1. optize

    optize New Member

    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: Jan 28, 2011
  2. mistwang

    mistwang LiteSpeed Staff

    You can try the wildcard IPv6 address

    Listen [::]:80
  3. optize

    optize New Member

    Yeah, tried that as well -- no go.
  4. mistwang

    mistwang LiteSpeed Staff

    Please try the updated 4.0.19 package. should work now.
  5. optize

    optize New Member

    Works now, thanks.
  6. priestjim

    priestjim New Member

    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.
  7. mistwang

    mistwang LiteSpeed Staff

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

    netstat -anp | grep LISTEN
  8. priestjim

    priestjim New Member

    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 \
        >
  9. mistwang

    mistwang LiteSpeed Staff

    what is the "Listen" directive relates to IPv6?
    Have you tried 4.0.20? does it work?
  10. mistwang

    mistwang LiteSpeed Staff

    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.

Share This Page