IBM Support

How to add ip adress to the list of ip address where nginx will be listening to in Watson Studio Local

Question & Answer


Question

After finishing the installation of Watson Studio Local 1.2.3.1, I can access Watson Studio Local UI using cluster internal IP address but I could not access it using external IP address. How can I set Watson Studio Local to use external IP address?

Answer

You can use the nginx_ips.py utility script. This script can by found under /wdp/utils/
In this following example, after running this utility script, I can access Watson Studio Local UI from https://192.168.0.105
# /wdp/utils/nginx_ips.py --help

        This script will replace the IP where nginx will be listening to.
        Usage: nginx_ips.py [options] IPs
        --add     Add the Ips to the list of Ips.


# ./nginx_ips.py 192.168.0.105

service "ibm-nginx-svc" replaced

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHGWL","label":"IBM Watson Studio Local"},"Component":"WSL 1.2.3.1","Platform":[{"code":"PF016","label":"Linux"}],"Version":"WSL 1.2.3.1","Edition":"None","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
30 December 2019

UID

ibm10964680