Type the following in a terminal window:
./psadmin get-attribute -u amadmin -p portal-URI -m communities -a WebServicesURL
./psadmin set-attribute -u amadmin -p portal-URI -m communities -a WebServicesURL URL
Specifies the administrator's distinguished name.
Specifies the portal ID.
Specifies the value for the WebServicesURL attribute. For example, the URL can be of the format http://foo.com:8080/communitymanagerwebservices/communitymanagerwebservices. Please note that the communitymanagerwebservices/communitymanagerwebservices part of the URL must not be changed.
There is no default value for the WebServicesURL attribute. By default, an empty value indicates that the host of the first Portal instance will be used.