Below are the various ports for both inbound and outbound connections:
Website- 80
Web Application- 443
FTP – 21.
IMAP – 143, but SSL/TLS encrypted IMAP uses port 993.
POP – 110, but SSL/TLS encrypted POP uses port 995.
SMTP – 25, but SSL/TLS encrypted SMTP uses port 465.