WSO2 API Manager - Displaying correct IP in UI

后端 未结 1 1491
粉色の甜心
粉色の甜心 2021-01-16 01:18

Have installed the API manager 1.4.0 on a single machine and got everything running. However have found the IP address shown within the management console and store sites ar

相关标签:
1条回答
  • 2021-01-16 01:45

    Instead of an IP address, I would use a domain name, and add it first to your hosts file like:

    192.168.1.2 apimanager.example.net
    

    Then edit some carbon.xml parameters to look like:

    <HostName>apimanager.example.net</HostName>
    
    <MgtHostName>apimanager.example.net</MgtHostName>
    
    <ServerURL>https://apimanager.example.net:${carbon.management.port}${carbon.context}/services/</ServerURL>
    
    0 讨论(0)
提交回复
热议问题