It is quite common to use containers to deploy Java applications in the current environment, but there are some problems that need to be solved. ip address.
The specific code is in this method
This article is reprinted from: https://nicksxs.me/2022/10/09/%E8%AE%B0%E4%B8%80%E4%B8%AA%E5%AE%B9%E5%99%A8%E4% B8%AD-dubbo-%E6%B3%A8%E5%86%8C%E7%9A%84%E5%B0%8F%E7%9F%A5%E8%AF%86%E7%82%B9/
This site is for inclusion only, and the copyright belongs to the original author.