Question: are tcp and udp ports different?
Answer: 3 Answers. TCP ports and UDP ports are not related to each other at all. The 5-tuple (protocol, source ip, source port, dest ip, dest port) must be unique. ... When listening however, sockets usually must be unique in their protocol, i.e. you can/should not open another TCP socket with the same port number.