For the hostname, I can’t say without seeing what your request looks like in the network tab.
As an example, I stood up an instance of Keycloak where the IP address was 200.0.0.0, but in the Keycloak config I specified a hostname value of ‘keycloak-trial’ - because of this, even though I was navigating to the correct IP/port of https://200.0.0.0:8443, I was unable to access my Keycloak instance as it was expecting ‘keycloak-trial’ as the host so when I accessed https://keycloak-trial:8443 (after updating my hosts file), I was then able to access as expected.
It may be that your Keycloak instance is expecting 127.0.0.1 instead of localhost, but again you can check the host in the request to confirm and adjust your config/settings accordingly.
Regarding your question on transaction recovery, try [SOLVED] Keycloak 20.0.2 - Transaction recovery warning ← the discourse forum has a handy search function