apache / apache/incubator-seata

Mac本机项目环境运行,Docker部署Seata无法指定SEATA_IP为127.0.0.1,本地项目从Nacos中读取到的Seata Ip无法连接

Open
#3,979 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

## Why you need it?
SpringBoot Jar包直接运行时,与部署在Docker虚拟VM中的 Seata 网络不能互通
官方提供参数 SEATA_IP 设定为 127.0.0.1 时,注册进Nacos的实际Ip仍为虚拟VM IP
注册Mac本机公网IP时,SEATA_IP参数生效,但不能让本地SpringBoot应用达到直接访问的目的

## How it could be?
Seata Docker部署时、支持注册IP为127.0.0.1

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Reproduce the Mac Spring Boot JAR and Docker-deployed Seata setup described in the issue, then inspect the Docker deployment, Seata IP registration, and Nacos discovery path. Done means SEATA_IP=127.0.0.1 is registered as intended and the local application can connect to Seata.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
devops, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.