Firewall blocks sample program. Updating firewall rules or simply turning it off usually solves the issue.