Solution 1 and 2 did not work.
IP address was not found in any xml file. I tried editing security xml, where all the values seem to be in there (ldap server was referenced by name in there) but WAS reported problems at startup.
I had to uninstall WAS and re-install.