Yes, if swarmagent is not set as an exception with your firewall/antivirus it will not be able to run correctly.