fix bug[1316350]: The error message is wrong when you add appmanager with ip address.