PDA

View Full Version : HOw bad is it for various apps on a machine to use same TCP & UDP port



alkemist
02-25-2006, 05:13 PM
Is it safer to specify all applications which require TCP UDP access to use different ports?

With a good firewall.


Or should one have one TCP and one UDP port for all apps on a machine, so there are less ways to access computer from outside?


Thank you,



Thank you.

Brf
02-26-2006, 08:38 AM
I would think if you had two applications using the same port, they would be fighting over the input...

motoflop
02-28-2006, 09:58 AM
Only one application can listen any specific TCP or UDP port at time. So if you have web server listening TCP 80, you cannot start another program and make it to listen TCP 80. The second program will give error message saying that that port is in use. Therefore your only option is to use different ports for different applications.

alkemist
03-02-2006, 01:55 PM
Thanx helpers

Just the answer I needed


Thank you.