1.查看端口是否占用
netstat -ano | findstr "端口号"
2.注册windows服务(cmd管理员运行)
sc create MyService binPath= "D:\桌面\安庆高新区对接\新建文件夹\AES\bin\Debug\AES.exe"