• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Allowable port numbers for RMI server

 
Mark O' Sullivan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just wondering what are the allowable port numbers for the RMI server, the boundary values if possible?
Thanks.
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

These are the values I used: 0 and 65534.

Kind regards,
Roel

[edit] This was my 1000th post , celebration to me
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:These are the values I used: 0 and 65534.


Me too!

Roel De Nijs wrote:This was my 1000th post , celebration to me


Congratulations, my friend!
 
Naveen Narayanan
Ranch Hand
Posts: 114
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratz Roel for hitting 1000

When I was giving a port validation, omitted IANA ports (0 to 49151)from it, so the range that I permitted was
  • from IANA port boundary(49152) to 65535
  • plus "1099" as our default RMI port

  •  
    Mark O' Sullivan
    Ranch Hand
    Posts: 160
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Cheers, thanks for replies. Congrats Roel for hitting 1000 posts.
     
    Shahriar Husain
    Greenhorn
    Posts: 24
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Mark O' Sullivan wrote:
    Just wondering what are the allowable port numbers for the RMI server, the boundary values if possible?


    I would assume it is better not to use any port number that is considered as a well known port.
     
    Naveen Narayanan
    Ranch Hand
    Posts: 114
    Eclipse IDE Java Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Yes, IANA says
  • The Well Known Ports are those from 0 through 1023
  • The Registered Ports are those from 1024 through 49151
  • Well Known ports, Registered ports SHOULD NOT be used without IANA registration

  • Perhaps, a bit overrated points when considering our app



     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic