PHOENIX Pharma interview question

What is ftp? What ports stand for ftp, ssh, dns, http/https? Was given examples with valid/invalid IP addresses asked to tell what’s the difference and recognize them.