我使用的是API Manager wso2,但是当我有两个网络接口时,例如:接口一=数据(192.168.1.10)接口二=网络备份(172.10.10.10)
当我在配置中启动API管理时,例如: tcp://${carbon.local.ip}:${jms.port}
日志中的Ip地址将出现错误。
示例: wso2carbon.log:TID:-1 2016-11-08 11:05:22,763 INFO {org.wso2.andes.client.AMQConnection} -无法连接到代理的tcp://172.10.10.10:5673 {org.wso2.andes.client.AMQConnection} wso2carbon.log:TID:-1 2016-11-08 11:05:45,475 INFO {org.wso2.andes.client.AMQConnection} -无法连接到tcp://172.10.10.10:5673 {org.wso2.andes.client.AMQConnection} wso2carbon.log:TID:-1 2016-11-08 11:06:25,487 INFO
正确的IP地址应该是tcp://192.168.1.10:5673而不是172.
我想这是同一个问题。 WSO2 API Manager Interface
非常感谢。
发布于 2016-11-09 11:09:42
您可以在carbon.xml中为HostName和MgtHostName设置所需的IP或主机名。
<!--
Host name or IP address of the machine hosting this server
e.g. www.wso2.org, 192.168.1.10
This is will become part of the End Point Reference of the
services deployed on this server instance.
-->
<!--HostName>www.wso2.org</HostName-->
<!--
Host name to be used for the Carbon management console
-->
<!--MgtHostName>mgt.wso2.org</MgtHostName-->此外,您还必须用所需的IP/主机名替换所有配置文件中的${carbon.local.ip}。
https://stackoverflow.com/questions/40505267
复制相似问题