Bootstrap FreeKB - IBM WebSphere - Resolve "Error creating SOAP connection to host"
IBM WebSphere - Resolve "Error creating SOAP connection to host"

Updated:   |  IBM WebSphere articles

This error often appears when using wsadmin.

~]# /opt/WebSphere/AppServer/profiles/profile1/bin/

WASX7023E: Error creating "SOAP" connection to host "localhost"; exception information: [SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to find a valid IP for host localhost]


Notice in this example that profile profile1 is being used.

Assuming profile1 is up and running, the SOAP hostname and port for profile1 will be listed in profile1 serverindex.xml file, which is located at ${WAS_INSTALL_ROOT}/profiles/profile1/config/cells/<cell name>/nodes/<node name>/serverindex.xml. In this example, the hostname for profile1 is and the SOAP port is 12345.

<specialEndpoints xmi:id="NamedEndPoint_123456789" endPointName="SOAP_CONNECTOR_ADDRESS">
  <endPoint xmi:id="EndPoint_123456789" host="" port="12345"/>


Ensure the ${WAS_INSTALL_ROOT}/profiles/profile1/properties/ file for profile1 has the SOAP hostname and port listed in the serverindex.xml file.


Now try to reissue the command and if all goes well, hopefully you will no longer get the "Error creating SOAP connection to host" error.

~]# /opt/IBM/WebSphere/AppServer/profiles/profile1/bin/


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee


Add a Comment

Please enter b36f76 in the box below so that we can be sure you are a human.