![](/img/trans.png)
[英]Unable to Login to WSo2 EMM1.1.0 Admin console after setting up WSO2 EMM 1.10 with External/Public IP - Connection time out Exception
[英]wso2 emm - unable to connect via external IP
我在具有内部IP 10.100.0.1:9443的服务器上安装了EMM 1.1.0。 路由器将端口转发到外部IP 90.90.0.1:23333
我能够本地登录到https:// localhost:9443 / emm,没有问题。
案例:
1)将sso-idp-config.xml中的所有本地主机修改为内部10.100.0.1:9443之后
从内部局域网到//10.100.0.1:9443/emm-能够登录
从外部重定向到//90.90.0.1:23333/emm重定向到//10.100.0.1:9443/samlsso-失败
2)将sso-idp-config.xml中的所有localhost修改为外部90.90.0.1:23333之后
登录后重定向到//90.90.0.1:23333/emm/acs后,从内部LAN到//10.100.0.1:9443/emm-失败
从外部登录到//90.90.0.1:23333/emm登录吗?空重定向到//10.100.0.1:9443/samlsso-失败
奇怪的是,在两种情况下,iam都能从外侧到达//90.90.0.1:23333/carbon。
对于公共IP,我们也有同样的问题,但是我们已经解决了。 这是一个配置问题; 我们更改了以下文件,现在一切正常。
请注意,您也可以直接在目标目录中更改这些文件。
${carbon.local.ip}
<ServerURL>https://${carbon.local.ip}:${mgt.transport.https.port}/services/</ServerURL>
<GatewayEndpoint>http://${carbon.local.ip}:${http.nio.port},https://${carbon.local.ip}:${https.nio.port}</GatewayEndpoint>
/modules/distribution/src/repository/conf/axis2/axis2.xml添加以下参数。
<parameter name="bind-address" locked="false">YOUR_PUBLIC_IP</parameter>
/modules/distribution/src/repository/conf/carbon.xml使用您的公共IP更改以下定义。
主机名和MgtHostName
/modules/distribution/src/repository/conf/identity.xml和/modules/distribution/src/repository/conf/sso-idp-config.xml将localhost替换为公共IP。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.