修改agent配置文件
1.wgcloud-agent配置修改,config/application.yml
server:
port: 9998
servlet:
context-path: /wgcloud-agent
spring:
application:
name: wgcloud-agent
logging:
path: ./log
#自定义配置参数
base:
#wgcloud-server端访问地址
serverUrl: http://127.0.0.1:9999
#本机ip,不要用localhost或127.0.0.1
bindIp: 192.168.1.2
#通信token,请和server端配置的wgToken保持一致
wgToken: wgcloud