# springcloud-demo1 **Repository Path**: qianggetaba/springcloud-demo1 ## Basic Information - **Project Name**: springcloud-demo1 - **Description**: 微服务架构初探 1个eureka微服务注册中心 1个zuul路由器 3个web应用 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2017-12-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springcloud-demo1 微服务架构初探 1个eureka微服务注册中心 1个zuul路由器 3个web应用 # 启动应用 【必须】先启动eureka模块的EurekaServer类的main(springboot),直接运行 然后是zuul模块的ZuulServer类的main (springboot),直接运行 再是3个web模块的WebApplication类的main (springboot),直接运行 # 访问 http://localhost:7001 eureka web管理 localhost:7002/we1/hello localhost:7002/we2/hello localhost:7002/we3/hello 体验微服务各个web应用,7002作为外部统一访问端口,由zuul根据请求路由到各个微服务 localhost:7003/hello localhost:7004/hello localhost:7005/hello 是各个单独的web应用,可以单独查看和测试使用