|
|
il y a 6 ans | |
|---|---|---|
| .settings | il y a 6 ans | |
| src | il y a 6 ans | |
| .classpath | il y a 6 ans | |
| .gitignore | il y a 6 ans | |
| .hgignore | il y a 7 ans | |
| .project | il y a 8 ans | |
| README.md | il y a 6 ans | |
| package.bat | il y a 8 ans | |
| pom.xml | il y a 6 ans |
Git克隆源代码到本地
git clone http://www.leanwo.com:3000/ShangHaiLeanwo/ServerManagement/settings
源代码导入到eclipse中。注意事项如下:
打开resources/Application.yml,修改属性server.port可以修改启动的端口号。
server:
port: 88
尽量不要修改该属性,如果修改该属性,所有的服务器中都要修改eureka.serviceUrl.defaultZone属性
#Eureka Server服务器地址.
eureka:
client:
fetch-registry: true
register-with-eureka: true
serviceUrl:
defaultZone: http://localhost:88/eureka/
应用程序管理器(本程序)集成了Eureka服务注册与发现,打开网址http://localhost:88可以参考各个注册服务的信息。
服务器名称 | 服务名称 | 默认端口号 | 备注
-|-|-|-
应用程序管理器 | server-management | 88 |
代理服务器 | gateway-server | 80 |
文件服务器 | file-server | 85 |