[英]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.