Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install two GlassFish servers, each serving on different ports, on one Windows Server OS. Is this possible>

share|improve this question

migrated from Aug 28 '09 at 9:13

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

Yes, this should be possible.

share|improve this answer
bit of a nightmare though, need to move all the catalina ports, or bind each to a different ip. – Tom H Apr 29 '12 at 22:39

you can set up glassfish in different port with IIS. you run the glassfish admin console, and go to the network listener in the left side of admin GUI. Default port content three port, 4848, 8181, and 8080. You can add new Listener here such as [newport]and your application become http://localhost:[newport]/yourApp

Perhaps this is can help you!

share|improve this answer

I run with several instances, in Solaris, on the same system, so I think it will work on Windows as well.

You might need to carefully map out port utilization, by making the second instance use all non-default ports, or by running with multiple IP addresses, and binding each GF instance to its own IP.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.