What are ports?

In this case a “port” refers to “port numbers.” These are the identification numbers used by computers and the software applications running on them to ensure relevant data is transferred to the right place without causing conflicts.