<network-listeners>
<network-listener protocol="http-listener-1" port="8080" name="http-listener-1" thread-pool="http-thread-pool" transport="tcp"></network-listener>
<network-listener protocol="http-listener-2" port="8181" name="http-listener-2" thread-pool="http-thread-pool" transport="tcp"></network-listener>
<network-listener protocol="pu-protocol" port="4848" name="admin-listener" thread-pool="admin-thread-pool" transport="tcp"></network-listener>
</network-listeners>
https://docs.oracle.com/cd/E19879-01/821-0177/fxxov/index.html
根据此文档,我需要查看 http-listener 端口值。但是 http-listener 有两个值。
同样,实际上glassfish管理员从“ip地址:4848”运行
我需要使用此命令更改密码,但我不确定域的端口号是多少。
asadmin --port 5048 enable-secure-admin
答案1
要更改密码,请更改管理端口的密码,即以 48 结尾的密码。