This can occur when either the Portainer Server or your Portainer Agents are exposed to the public internet, and are being subjected to port scanners.
We highly recommend restricting access to your Portainer deployments to only the IPs that are required for access by using a firewall or other ACL mechanism to limit access.