1.本地访问请求和端口
输入http://localhost:8085/hello/spring
http://localhost:8088/hello?name=springcloud
http://localhost:8084/hello?name=springcloud
http://localhost:8761/
8085:consumer端口,每次刷新返回结果和上次不同
8088 8084:producer端口
8761:Eureka端口
2.以jar导出项目
3.进入Linux,输入指令
pscp E:\BaiduNetdiskDownload\myspringcloud.jar
//Putty上传
4.启动项目 java -jar myspringcloud.jar
5.访问使用ip:port/