discourse dont like IP addresses, you need to use a domain.
If you added the ip address in the app.yml instead of the domain, then it might have failed and still use the old value.
Once the new domain resolves, add it to the app.yml and rebuild.
it should would then