seesee
seesee

Reputation: 1155

What are the list of valid RMI port?

I'm trying to validate user's input of RMI host port. I know 1099 is the default RMI port but since the user is able to define which port to use, i need to validate the range of port he input too.. is there a recommended range of ports?

Upvotes: 0

Views: 2525

Answers (2)

user207421
user207421

Reputation: 311054

What do you need this for? And why is a 'user' inputting a port number in the first place? The only port number an RMI client program needs to know about is 1099, and why the user is getting involved in that is a mystery to me.

Upvotes: 0

Peter Lawrey
Peter Lawrey

Reputation: 533880

Port 49152–65535 are available for any purpose. Ports below this might be used for another purpose. http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

Upvotes: 1

Related Questions