Some legacy servers may not have IPv6 enabled. Follow these four steps to enable it:
Check if it is already running;
Enable IPV6 from /etc/sysctl.conf file;