Before I begin I just want to state that I do know what a port is and I do know the difference between TCP and UDP.
Is there a difference between a TCP port and a UDP port? Or is it just a port that is open or closed and either TCP or UDP can use it.
I know a firewall can block either TCP or UDP ports but is it just a rule that looks at both the port and layer 4 protocols or are they actually separate ports
And lastly I understand that protocols can use both TCP and UDP ports but is it possible for the same port number to be used at the same time? One with TCP and one with UDP an example of this would be DNS which uses TCP and UDP 53.
And as I am typing this question I realized I had one more thought. Are ports only a method for listening for incoming traffic?
There is no practical application to this question it is just something that popped in my head and I have not been able to find an adequate answer