• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

port number issue

Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ??

Posts: 28263
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic