I can not understand how to modify WSO2 with its own IP address and no longer have localhost.
Can someone explain?
Thank you for your help.
Tof
You can edit the carbon.xml file in wso2iot-3.0.0/core/repository/conf location and change the following tags with the IP Address.
<HostName>192.168.10.1</HostName>
<MgtHostName>192.168.10.1</MgtHostName>
Restart the server to apply the changes.
WSO2 IoT 3.1.0 is released now, and we have included a script to change the localhost URL to an IP. Please check in the [WSO2 IoT-3.1.0]/scripts/change-ip.sh. When you run this, it will configure the server to use the IP instead of the localhost.
Try changing below configurations
1) comment Hostname and MgtHostName Field in carbon.xml
2) replace all the localhost with IP in sso-idp-config.xml
3) core/repository/deployment/server/jaggeryapps/devicemgt/app/conf/app-conf.json "identityProviderUrl" : "https://IP:9443/samlsso", "acs": "https://IP:9443/devicemgt/uuf/sso/acs",
4) core/repository/deployment/server/jaggeryapps/api-store/site/conf/site.json "identityProviderURL" : "https://IP:9443/samlsso",
5) core/repository/conf/app-manager.xml
Under SSO-configuration set "identityProviderURL" : "https://IP:9443/samlsso"
Complete list at docs.wso2.com/display/IoTS300/Configuring+WSO2+IoT+Server+with+the+IP
https://docs.wso2.com/display/IoTS300/Configuring+WSO2+IoT+Server+with+the+IP