The tutorial explains the reason as to why there are not ports associated with ping. When PC1 initiates a ping to PC2, the ping packet is constructed on PC1. The source IP address of the IP header