A deprecated method call for getIpAddress() is replaced in this commit with a new method getHost().
This closes #32130
Comment From: thegeekyasian
@philwebb can you please review this small PR, replacing the deprecated method call to avoid buildSrc failures for deprecated checks.
Comment From: snicoll
Thanks for the PR, this is related to #32127
Comment From: snicoll
@thegeekyasian thank you for making your first contribution to Spring Boot.