By default, the workplace properties file (wkplc.properties) is located at the following directory on a Linux system.
The WasRemoteHostName directive in the wkplc.properties file is used to define the hostname of the Portal server that will be used when the ConfigEngine.sh script attempts to make a remote connection.
The wsadmin.properties file . . .
Should contain the same hostname.