Introducing new features. #I2NUUE spring boot admin nacos监控失败, 显示主机名而不是IP

This commit is contained in:
lbw 2021-01-28 15:25:10 +08:00
parent 483966c609
commit 7eb590eaa9
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ spring:
url: http://pig-monitor:5001 url: http://pig-monitor:5001
username: pig username: pig
password: pig password: pig
instance:
prefer-ip: true
application: application:
name: @project.artifactId@ name: @project.artifactId@