1.使用${}占位符获取,如果能获取到参数则用,获取不到则使用默认的8081 2.右键Application,选择copy configuration ,如下 3.配置服务名称,配置参数“-Dport=8083”端口号 4.验证