• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How to make sw-cp-server listen on ipv6

105547111

Silver Pleskian
IgorG,

Can you tell me what do I need to modify to get the parallels panel at :8443 to listen on ipv6? I have managed to get my server running email (postfix as this supports ipv6 where qmail does not), DNS, http, ftp, everything but the damn panel.

I am hoping it has not been compiled without ipv6 support. If so how can the sw-cp-server be compiled with ipv6 support?

Thanks!
 
IgorG,

I see its built from light httpd and thank goodness it has been compiled with ipv6 support:

# sw-cp-serverd -V
sw-cp-server-1.0.0 (ssl) - a light and fast webserver
Build-Date: Apr 1 2010 14:34:48

Event Handlers:

+ select (generic)
+ poll (Unix)
+ rt-signals (Linux 2.4+)
+ epoll (Linux 2.6)
- /dev/poll (Solaris)
- kqueue (FreeBSD)

Network handler:

+ sendfile

Features:

+ IPv6 support
+ zlib support
+ bzip2 support
+ crypt support
+ SSL Support
+ PCRE support
- mySQL support
- LDAP support
- memcached support
- FAM support
- LUA support
- xml support
- SQLite support
- GDBM support


So could you please find out what config changes I need to get it listening on ipv6 please?

I already edited the /etc/sw-cp-server/config to enable ipv6 support:

server.modules = ()
server.document-root = "/dev/null"
server.port = 10001
server.use-ipv6 = "enable"
#server.bind = "127.0.0.1"
server.pid-file = "/var/run/sw-cp-server.pid"
server.errorlog-use-syslog = "disable"
server.errorlog = "/var/log/sw-cp-server/error_log"
server.username = "sw-cp-server"
server.groupname = "sw-cp-server"

include_shell "/usr/share/sw-cp-server/applications-conf.sh"

I commented out the 127.0.0.1 as I can't figure out the syntax to allow multiple hosts, however [::1] or adding in my ipv6 address works for it to start as long as you add only 1.

I tried server.bind = "127.0.0.1" "[::1]" and "127.0.0.1 [::1]" and "127.0.0.1, [::1]" and "127.0.0.1"; "[::1]" all no good cp-server wont restart.

Any ideas?
 
Last edited:
Back
Top