all groups > dotnet remoting > march 2006 >
You're in the

dotnet remoting

group:

Port to use for remoting


Port to use for remoting Nadanasabapathy I
3/23/2006 6:28:26 AM
dotnet remoting: Hi

What is the recommended range of TCP Port numbers that can be used while
Re: Port to use for remoting Mehdi
3/23/2006 4:08:39 PM
[quoted text, click to view]

There is nothing special about a .NET remoting server. The same rules as
for any other kind of server application apply:

- valid port numbers that you could potentialy use are 1 to 65535
- ports 1 to 1023 are reserved for assignment by the IANA so it's better
not to use them
- ports 49152 to 65535 are supposed to be used only as dynamic or private
ports so it's better not to use them for a public server application which
uses a fixed port
- ports 1024 to 49151 are the ports registered for general use. You should
choose your port number within this range
- check the IANA list of registered ports
http://www.iana.org/assignments/port-numbers before choosing a port to
avoid possible collisions with other server applications that might be
running on your client's machine.
- Consider registering your port(s) with the IANA to avoid other people
choosing the same port as you did.
- Avoid choosing an easy to remember port as it is very likely that many
other people have had the same idea as you before wich increases the
Re: Port to use for remoting Mehdi
3/23/2006 4:16:19 PM
[quoted text, click to view]

And, of course, always provide the user with a way to change the default
port in case the port is already in use by some other application on their
AddThis Social Bookmark Button