WSO2 API Manager中host Ip 不正确的问题解决方法

2023-07-29,,

问题:

根据官方的Quick start的教程,部署完AM后,添加的API的host Ip不正确,为localhost或者服务器上的其他虚拟ip。

安装版本:

      WSO2AM 2.6.0

环境:

centOS 7.3

Java 8

解决方法

1)进入conf目录(我的是 /usr/lib64/wso2/wso2am/2.6.0/repository/conf),修改api-manager.xml文件,将ServerURL修改为服务器IP:

<ServerURL>https://172.16.1.14:${mgt.transport.https.port}${carbon.context}services/</ServerURL>

2)重启Wso2AM即可

WSO2 API Manager中host Ip 不正确的问题解决方法的相关教程结束。

《WSO2 API Manager中host Ip 不正确的问题解决方法.doc》

下载本文的Word格式文档,以方便收藏与打印。