|
|
#### 服务器$IP$设置
|
|
|
|
|
|
通过使用服务器机器上的hosts文件,将IP地址的概念转移到指定的名称上,减少配置的时间
|
|
|
|
|
|
```shell
|
|
|
C:\Windows\System32\drivers\etc\hosts
|
|
|
```
|
|
|
|
|
|
```
|
|
|
# 以下是微服务的服务器配置
|
|
|
10.10.14.67 ms-saas-mgr
|
|
|
10.10.21.20 ms-user
|
|
|
10.10.21.20 ms-finance
|
|
|
10.10.21.20 ms-wallet
|
|
|
10.10.21.20 ms-order
|
|
|
10.10.21.20 ms-admin
|
|
|
10.10.21.20 ms-excel
|
|
|
10.10.21.20 ms-station
|
|
|
10.10.21.20 ms-protocol-shenghong
|
|
|
10.10.21.20 ms-distribute
|
|
|
10.10.21.20 ms-monitor
|
|
|
10.10.21.20 ms-openapi
|
|
|
10.10.21.20 ms-task
|
|
|
10.10.21.20 ms-websocket-ocpp
|
|
|
10.10.21.20 ms-protocol
|
|
|
```
|
|
|
|
|
|
#### 映射的端口
|
|
|
|
|
|
```
|
|
|
D:\dsWork\YltProject\Ylt\gw-saas-mgr\src\main\resources\bootstrap-dev.yml
|
|
|
```
|
|
|
|
|
|
```xml
|
|
|
# 服务主机注册配置
|
|
|
orderbkapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-admin:7011
|
|
|
exportapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-admin:7011
|
|
|
operatorBill:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-admin:7011
|
|
|
distribute:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-admin:7011
|
|
|
|
|
|
protocolapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-distribute:7012
|
|
|
|
|
|
recManager:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-finance:7014
|
|
|
openapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-finance:7014
|
|
|
|
|
|
stationActivity:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
oldStationActivity:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
activityNotice:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
agent:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
station:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
equipment:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
connector:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
saasstation:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
saasequipment:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
saasconnector:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
company:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
operator:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
platform:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
monitoring:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
equipmentPricingRule:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
region:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
|
|
|
saas:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-station:7020
|
|
|
|
|
|
mgrApi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-saas-mgr:7026
|
|
|
|
|
|
orderapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-task:7021
|
|
|
|
|
|
userapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-user:7022
|
|
|
|
|
|
operatorapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-user:7022
|
|
|
financeapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-websocket-ocpp:7022
|
|
|
|
|
|
excelapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-excel:7013
|
|
|
|
|
|
openapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-openapi:7016
|
|
|
|
|
|
walletapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://ms-wallet:7023
|
|
|
|
|
|
# 未找到此项目
|
|
|
monitorapi:
|
|
|
ribbon:
|
|
|
listOfServers: http://i100c.3322.org:30731
|
|
|
```
|
|
|
|