I just wanted to confirm enabling the sonar protection blocks TCP IP port or not . If so which are the ports it uses . Can we prevent it from blocking
SONAR doesn't block ports but checks for malicious processes. Read about it here:
About SONAR
You would want to use the firewall to block ports.