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

   > 你可以通过将seata-server的端口映射到宿主机中,并设置环境变量SEATA_IP=宿主机ip. You can map the port 
of the seata-server to the host machine and set the environment variable 
SEATA_IP to the host machine's IP.
   
   我把seata-server的docker启动命令加上了 '-e SEATA_IP=127.0.0.1' 或者 ‘-e 
SEATA_IP=localhost’,现在seata-server容器的启动命令是
   docker run --name seata-server -d
   -p 8091:8091
   -p 7091:7091
   -v ...
   -e SEATA_IP=127.0.0.1
   apache/seata-server:2.1.0.jre17
   
   
但是我启动订单服务后,通过nacos注册事务到seata-server时,所寻找的seata-server地址依旧是172.17.0.3:8091,还是相同的错误。
   在nacos注册中心中,seata-server的地址也还是172.17.0.3
   
![image](https://github.com/user-attachments/assets/f2da90aa-b051-4dc8-8435-e81a0fc6a740)
   
   


-- 
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