我是axon服务器的新手。我在春季启动时使用axon服务器作为远程服务器。不在本地主机中。但是当spring-boot应用程序连接到服务器时,它会失败并显示休耕错误。
Connecting to AxonServer node [174.298.31.***:8024] failed: UNAVAILABLE: Network closed for unknown reason
Failed to get connection to AxonServer. Scheduling a reconnect in 2000ms
我的财产文件如下,
axon:
axonserver:
servers: 174.298.31.***:8024
如果不更改默认端口,8024
是HTTP访问服务器面板的默认端口。但当您尝试使用客户端连接到服务器时,它不是通信端口,通信协议是8124
。请尝试将8124端口.8024
仅用于仪表板。
axon:
axonserver:
servers: 174.298.31.***:8124