Your antivirus or firewall is designed to block threats, and unfortunately, the SSQ activator is often flagged as one.
SOLIDWORKS 2018 Activator (SSQ) Error 6: How to Fix & Common Causes solidworks 2018 activator ssq error 6
If Hyper-V is causing port conflicts: