WSO2 API Manager Public NAT IP

柔情痞子 提交于 2019-12-11 13:32:56

问题


I have installed the api manager on a windows server 2008. The server has a LAN-IP and a Public-IP over NAT.

Example:
LAN-IP: 192.168.100.1
Public-IP over NAT: 10.0.0.10

I want to test the API Manager over the Public-IP, but the Server works only local with the LAN-IP. Has someone an idea, how can I get the api manager to work over the Public-IP? The Ports are open on the firewall.
THX


回答1:


Please try out with the following configurations. Note to restart the server once done.

  1. Set the HostName and MgtHostName in <%APIM_HOME%>/repository/conf/carbon.xml to the public IP address.
  2. Set the bind-address parameter of the http and https s found in the <%APIM_HOME%>/repository/conf/axis2/axis2.xml file to the public IP.
  3. Set the as below in the <%APIM_HOME$>/repository/conf/api-manager.xml file.

http://<-- Public-IP -- >:${http.nio.port},https://<-- Public-IP -- >:${https.nio.port}

Thanks, Nuwan.



来源:https://stackoverflow.com/questions/14141094/wso2-api-manager-public-nat-ip

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!