An error is reported when the system starts: can not connect to services server.
Always connect to the intranet IP by default, but my configuration file specifies the extranet.
2020-07-29 14:53:39.075 ERROR 20356 --- [ main] i.s.c.r.netty.NettyClientChannelManager : 0101 can not connect to 172.19.231.5:8091 cause:can not register RM,err:can not connect to services-server.
io.seata.common.exception.FrameworkException: can not register RM,err:can not connect to services-server.
at io.seata.core.rpc.netty.NettyClientChannelManager.doConnect(NettyClientChannelManager.java:210) ~[seata-all-1.3.0.jar:1.3.0]
at io.seata.core.rpc.netty.NettyClientChannelManager.acquireChannel(NettyClientChannelManager.java:103) ~[seata-all-1.3.0.jar:1.3.0]
at io.seata.core.rpc.netty.NettyClientChannelManager.reconnect(NettyClientChannelManager.java:175) ~[seata-all-1.3.0.jar:1.3.0]
The configuration address of the mount directory is not easy to use, or it can’t be connected, and the error has been reported all the time
docker run -id --name seata-server -p 8091:8091 \
-v /java/seata/resources/file.conf:/seata-server/resources/file.conf \
-v /java/seata/resources/registry.conf:/seata-server/resources/registry.conf \
-v /java/seata/logs:/root/logs \
seataio/seata-server:1.3.0 /bin/bash
Finally, IP and final version should be specified at runtime to solve the problem
docker run -id --name seata-server -p 8091:8091 \
> -e SEATA_IP=192.168.23.129 \
> -e SEATA_PORT=8091 \
> -v /java/seata/resources/file.conf:/seata-server/resources/file.conf \
> -v /java/seata/resources/registry.conf:/seata-server/resources/registry.conf \
> -v /java/seata/logs:/root/logs \
> seataio/seata-server:1.3.0
Read More:
- ssh can connect but sftp can not connect
- [Sovled] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
- 2003 – Can‘t connect to MySQL server on ‘192.168.163.128‘(Unknown error )
- Error reported when Windows builds docker image: failed to create LLB definition: 403 Forbidden
- CentOS Liunx 7 uses rdesktop to remotely connect to the Alibaba Cloud server and it appears Failed to connect, CredSSP required by server.
- Ubuntu 20.04 builds nginx 1.18.0 and MAC file transfer / download to server
- The installation of docker desktop failed. After successful installation, the docker can not be started
- How to Fix ERROR: Couldn’t connect to Docker daemon at http+docker://localhost – is it running?
- Docker was unable to connect to the docker daemons
- (20200916 Solved)Docker||redis-cli Could not connect to Redis at 127.0.0.1:6379: Connection refused
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- Alibaba cloud builds FTP server 200 port command successful. Consider using PASV. 425 failed to establish connection
- Error:join network can not connect to Zerotier service
- Local can link to the server database, upload jar package to the server will report an error
- Reporting Services Catalog Database File Existence” error during installing SQL Server 2008 R2
- Host is not allowed to connect to this MySQL server
- MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect EC
- The server just without updating PID file and can’t connect to local MySQL server through socket are solved
- Android error java.lang.IllegalStateException : System services not available to Activities before onC
- [Solved] Unity Error: Deterministic compilation failed. You can disable Deterministic builds in Player Settings