I did an nmap scan for my private IP address
nmap -p- 192.168.1.123
and got the following open ports back:
50323/tcp open unknown
50334/tcp open unknown
50641/tcp open unknown
57621/tcp open unknown
57650/tcp open unknown
64448/tcp open unknown
A more detailed scan about those specific ports also didn't yield much.
nmap -p 64448,57650,57621,50641,50334,50323 -A 192.168.1.123
PORT STATE SERVICE VERSION
50323/tcp open unknown
50334/tcp open unknown
| fingerprint-strings:
| NULL:
|_ {"type":"Tier1","version":"1.0"}
50641/tcp open tcpwrapped
57621/tcp open unknown
57650/tcp open tcpwrapped
64448/tcp open tcpwrapped
I'm fairly confident that I'm not responsible for opening them. They're most likely there because Apple uses them for services.
I wanted to know what they do, so I'd know if I should disable them or not for security purposes. However, googling the port names gave nothing. So, I think we should give a short description about each port and the corresponding service, so that others will be easily able to find this information in the future.
There was no option to answer my own question, so note that I'm working on providing the list right now.