could anyone please let me know what class / method should i use to get a list of available port number and host name
//AM I START THIS IN RIGHT PLACE???
Question :when start server user only asked for port no here, for createRegistery, does it need host name?
if yes how createRegistry with a specifit hostname
Question :when start client - user only asked for host name here, for Naming.lookup, does it need port no?
if yes where is it being use?
(i read the zhi's msg, got confuse, it seem like he asked user for port and host when start server, and i don't see the why hostname is needed when start server)