Ghost-Unison commented on issue #6915:
URL: 
https://github.com/apache/incubator-seata/issues/6915#issuecomment-2413615104

   > 检查client与172.17.0.3 这个ip的网络是否存在问题 Check if there is a problem with the 
network of the client and 172.17.0.3 this ip
   
   
   
   > The issue appears to be that business side and seata-server do not belong 
to the same network subset.
   
   谢谢回复,我的订单微服务(order-service)启动在本机(IDEA), 
然而nacos和seata-server都启动在docker上(WSL2),我明白这确实是网络的问题。——我在本机无法访问172.10.0.3这个地址,所以我的微服务无法通过172.10.0.3这个地址注册到seata-server。
   
那么我的订单服务在nacos中获取到的这个seata-server的地址(172.10.0.3)是docker所指定的吗,我该怎么才能让我的订单服务获取到一个可访问的地址呢?
   下面是我启动nacos和seata-server的docker命令。
   docker run --name nacos -d -p 8848:8848 -p 9848:9848
   --env MODE=standalone
   --env NACOS_AUTH_ENABLE=true
   -e ...
   -v ...
   nacos/nacos-server:latest
   
   docker run --name seata-server -d
   -p 8091:8091
   -p 7091:7091
   -v ...
   apache/seata-server:2.1.0.jre17
   
   难道说我只能把我的订单微服务order-service也发到docker上才能访问到seata-server吗,我觉得这样测试起来不太方便。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to