WSO2 API 管理器公共 NAT IP [英] WSO2 API Manager Public NAT IP

查看:34
本文介绍了WSO2 API 管理器公共 NAT IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 windows server 2008 上安装了 api 管理器.服务器有一个 LAN-IP 和一个通过 NAT 的公共 IP.

示例:
LAN-IP:192.168.100.1
NAT 上的公共 IP:10.0.0.10

我想通过公共 IP 测试 API 管理器,但服务器只能在本地使用 LAN-IP.有人有想法,我怎样才能让 api 管理器在公共 IP 上工作?端口在防火墙上是开放的.
谢谢

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

推荐答案

请尝试以下配置.完成后注意重启服务器.

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

  1. 将 <%APIM_HOME%>/repository/conf/carbon.xml 中的 HostName 和 MgtHostName 设置为公共 IP 地址.
  2. 将 <%APIM_HOME%>/repository/conf/axis2/axis2.xml 文件中的 http 和 https 的 bind-address 参数设置为公共 IP.
  3. 在 <%APIM_HOME$>/repository/conf/api-manager.xml 文件中设置如下.

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

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

谢谢,女娲.

这篇关于WSO2 API 管理器公共 NAT IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆