0

I'm using Glassfish 3+ and deploying the applications to application server. My glassfish instance's port not "8080". when i enter the Glassfish Admin Console and going to Running Applications , i can see the port number which works. For example : 43888. How i can see the port numbers running applications on command prompt? Which asadmin command with?

Rahman Usta
  • 716
  • 3
  • 14
  • 28

1 Answers1

1

The quick and dirty way is to use the following command (on UNIX/Linux):

asadmin get '*' | egrep -i '[._]port[=.][1-9v]' | sort

This gets you most all the port values that are being used in a domain.

vkraemer
  • 9,864
  • 2
  • 30
  • 44