wso2 emm - unable to connect via external IP

Lukas Müller

I have EMM 1.1.0 installed on server with internal IP 10.100.0.1:9443. Port forwarded by router to external IP 90.90.0.1:23333

Im able to log in locally to https://localhost:9443/emm without a problem.

Cases:

1) After modifying all localhosts in sso-idp-config.xml to internal 10.100.0.1:9443

From internal LAN to //10.100.0.1:9443/emm - able to log in

From external to //90.90.0.1:23333/emm redirected to //10.100.0.1:9443/samlsso - failed

2) After modifying all localhosts in sso-idp-config.xml to external 90.90.0.1:23333

From internal LAN to //10.100.0.1:9443/emm after log in redirected to //90.90.0.1:23333/emm/acs - failed

From external to //90.90.0.1:23333/emm login?null redirected to //10.100.0.1:9443/samlsso - failed

What is strange is that iam able to reach //90.90.0.1:23333/carbon from external side in both cases.

Aksel Fatih

We had the same issue with a public IP, but we have figured it out. It is a configuration issue; we changed the following files and now everything works just fine.

Note that you can also directly change these files at the target directory.

  1. modules/distribution/src/repository/conf/api-manager.xml change the following ${carbon.local.ip} with your public 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>

  1. /modules/distribution/src/repository/conf/axis2/axis2.xml add the following parameter.

    <parameter name="bind-address" locked="false">YOUR_PUBLIC_IP</parameter>

  2. /modules/distribution/src/repository/conf/carbon.xml change the following definitions with your public IP.

    HostName and MgtHostName

  3. /modules/distribution/src/repository/conf/identity.xml and /modules/distribution/src/repository/conf/sso-idp-config.xml replace the localhost with the public IP.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Does wso2 emm provide space isolation?

From Dev

WSo2 EMM - App Management Database Bug

From Dev

WSO2 EMM provides API for development?

From Dev

Unable to connect to HIVE2 via JAVA

From Dev

WSO2 EMM Error occurred while registering the OAuth application : emm

From Dev

Managing iOS devices from wso2 emm console

From Dev

ssh unable to connect with external ip (port 22 is open)

From Dev

ssh unable to connect with external ip (port 22 is open)

From Dev

Clustering of WSO2 EMM with redundant database

From Dev

WSO2 EMM: A way to expose API for a native app building?

From Dev

wso2 emm multiple tenants how to support themes

From Dev

How to run WSO2 EMM Jaggery Web App in a WSO2 EMM Carbon Server?

From Dev

WSO2_EMM: which IP I should set when working in a testing environment

From Dev

Cannot access WSO2 EMM Store/Publisher on localhost

From Dev

Connect to external host with/as local ip

From Dev

WSO2Emm - Unable to register android device

From Dev

WSO2 EMM - WIFI operation not working

From Dev

WSO2 EMM - operation not working

From Dev

WSO2 EMM - How can I add new report?

From Dev

WSo2 EMM - App Management Database Bug

From Dev

WSO2 EMM - Usage limitations

From Dev

WSO2 EMM Error occurred while registering the OAuth application : emm

From Dev

WSO2 EMM - What is purpose iOS Agent?

From Dev

Auto Updating feature in WSO2 Appmanager and EMM

From Dev

WSO2 EMM - Device Name

From Dev

Python: Connect using sockets via external IP

From Dev

What framework used in WSO2 Emm?

From Dev

Unable to connect to Kognitio via Pentaho - Cannot create socket for IP Error

From Dev

WSO2 EMM Agent with COSU not using NFC

Related Related

HotTag

Archive