<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 有 2 个值。
同样,事实上 glassfish 管理员从“ip 地址:4848”运行
我需要使用此命令更改密码,并且我不确定域的端口号是什么。
asadmin --port 5048 enable-secure-admin
要更改密码,请更改管理端口的密码,即以 48 结尾的密码。