First bear with me if I am not posting it in the right place. I couldn't find a better place to ask this question ---
On my windows XP, I have installed lot of software like application servers, database, etc. Many of them have their own port number(s) for their admin server and managed server, etc. I am wondering --
question 1 --- Everytime when I install a new software, does it automatically check what port numbers other server/software jave used ? I guess it can't find that information. right ?
question 2 --- so, will it be a problem if my Websphere uses 9099 as admin server port, and my glass fish uses it too ? Is it true that it is OK for them to have the same port number as long as I don't start them at the same time ??
The short answer is that it's the responsibility of the person managing the server to make sure that all the applications which want to listen on ports, listen on different ports. There's no software which will say "oh okay, I see port 9099 is taken, let's try port 9100 instead". If it did, how would the clients know to connect to port 9100 instead?
And no, two servers can't listen on the same port at the same time.