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?

4

1 回答 1

1

快速而肮脏的方法是使用以下命令(在 UNIX/Linux 上):

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

这将为您提供域中正在使用的大多数端口值。

于 2012-07-01T18:18:56.740 回答