Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitor无法注册到eureka上 #5

Open
beykery opened this issue Jun 21, 2017 · 0 comments
Open

monitor无法注册到eureka上 #5

beykery opened this issue Jun 21, 2017 · 0 comments

Comments

@beykery
Copy link

beykery commented Jun 21, 2017

docker run -d --name registry -p 127.0.0.1:8761:8761 registry
docker run -d --name monitor -p 127.0.0.1:8040:8040 -p 127.0.0.1:8041:8041 monitor
我启动两个容器分别跑registry和monitor,各自的ui界面都能打开,但是在eureka上发现,并没有monitor注册进来。

如果不使用docker分别java -jar xxx.jar 启动发现monitor的确是注册到了eureka上。为何?
@zhangxd1989

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant