Host applications with different port numbers in glassfish application server.

how to host applications in different port numbers?

Say, i\'ve two applications to be hosted in glassfish one with port number 8080 and another say 7070.

Do we have to create virtual servers?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brian UtterbackPrinciple Software EngineerCommented:
Well, yes and no. You need to set up a different glassfish administrative domain.

Look here for more info:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
darkappleAuthor Commented:
the problem is like this.

i've to applications module(say admin module and consumer module)

i need to host these two applications in different port and i want to block the port of admin module from outer access.

Now i can host the applications in different ports but i'm able to access the either modules from each port. I want to host admin module in one port and it should not be accessed through another port.

Brian UtterbackPrinciple Software EngineerCommented:
I am afraid you are beyond my Glassfish knowledge.
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

darkappleAuthor Commented:
through a search i came to know that this can be achieved by creating different domains.
Brian UtterbackPrinciple Software EngineerCommented:
Isn't that what I said at first? I thought you tried it and it didn't do all you wanted.
darkappleAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.