Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 installed glassfish v3 some time ago and it's been a while since I last used it, so I forgot the port on which the server is listening and the port on which the admin console is listening. Moreover, i forgot the admin password!

I'm pretty sure I've change them because I've tried the default values and didn't work.

Is there any configuration file where I can look for them (at least the port numbers)?

share|improve this question
up vote 1 down vote accepted

The default port for admin console is normally 4848.

Check the domain.xml file under the config dir in your Glassfish Domain.


And for overriding password, refer to

share|improve this answer
 netstat -l 

will give you all the listening ports, so you can start from there.

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.