开发者

How can I determine which port my GlassFish server is running on?

开发者 https://www.devze.com 2023-04-05 10:52 出处:网络
I have started a GlassFish server on my machine. How can I determine which port the GlassFish server is running on?

I have started a GlassFish server on my machine. How can I determine which port the GlassFish server is running on? I have tested both 8080 an开发者_Python百科d 4848 ports.


You can try this, it may help

asadmin get server | grep listener 

http://blogs.oracle.com/openroad/entry/changing_default_glassfish_port_numbers

For windows this may help (from the comments of the link)

<GLASSFISH_PATH>\\bin>asadmin.bat --port 15050 get server.network-config.network-listeners.network-listener.\*

Or you can look at the ports from configuration files (in the file search for: ):

<GLASSFISH_PATH>\\glassfish\\domains\\domain1\\config\\domain.xml
0

精彩评论

暂无评论...
验证码 换一张
取 消