WSO2 CLI工具无法连接到主机
我正在使用WSO2 micro Intregulator,但CLI工具有问题,mi:无法连接到主机 我使用以下命令在VM上运行WSO2 Micro Integrator:WSO2 CLI工具无法连接到主机,wso2,Wso2,我正在使用WSO2 micro Intregulator,但CLI工具有问题,mi:无法连接到主机 我使用以下命令在VM上运行WSO2 Micro Integrator: $micro-integrator.bat -DenableManagementApi 我想通过以下方式获取一个或多个碳应用程序的信息: $mi show carbonapp --verbose [INFO] Executed ManagementCLI (mi) on Thu, 25 Jul 2019 14:59:47
$micro-integrator.bat -DenableManagementApi
我想通过以下方式获取一个或多个碳应用程序的信息:
$mi show carbonapp --verbose
[INFO] Executed ManagementCLI (mi) on Thu, 25 Jul 2019 14:59:47 +07
[INFO] Show Carbon app called
[INFO] URL: https://localhost:9165/management/applications
$mi: Unable to connect to host
mi init --verbose
[INFO] Executed ManagementCLI (mi) on Thu, 25 Jul 2019 15:01:52 +07
[INFO] Init called
Enter following parameters to configure the cli
Host name(default localhost): localhost
Port number(default 9164): 9165
CLI configuration is successful
我希望获得一个或多个Carbon应用程序的相关信息,请检查端口管理API是否正在运行。默认情况下,它是9164,因为您提到了9165,MI是否以偏移量11(默认偏移量10)开始?否则,您可以在carbon.xml中找到偏移量 使用管理Api启动MI时,控制台中将打印以下日志
[2019-07-28 21:05:05,318] [micro-integrator] INFO - PassThroughListeningIOReactorManager Pass-through EI_INTERNAL_HTTPS_INBOUND_ENDPOINT Listener started on 0.0.0.0:9164
这里“9164”是它的端口。请确保它已启动,并且启动的端口与您在init中定义的端口相同。是否可以检查端口管理API是否正在运行。默认情况下,它是9164,因为您提到了9165,MI是否以偏移量11(默认偏移量10)开始?否则,您可以在carbon.xml中找到偏移量 使用管理Api启动MI时,控制台中将打印以下日志
[2019-07-28 21:05:05,318] [micro-integrator] INFO - PassThroughListeningIOReactorManager Pass-through EI_INTERNAL_HTTPS_INBOUND_ENDPOINT Listener started on 0.0.0.0:9164
这里“9164”是它的端口。请确保它已启动,并且启动的端口与您在init中定义的端口相同