apache / dubbo-admin

The ops and reference implementation for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
3.99k stars 2.17k forks source link

[Bug]: Docker start dubbo-admin failed in windows os #1233

Closed yuluo-yx closed 1 year ago

yuluo-yx commented 1 year ago

Environment

Steps to reproduce this issue

  1. According to the readme description, create a configuration file for mapping under windows.
    admin.registry.address=zookeeper://127.0.0.1:2181
    admin.config-center=zookeeper://127.0.0.1:2181
  2. Copy the docker startup mode command in the readme

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

Can successfully access the dubbo-admin console in the browser

Actual Result

Failed!

But I can access it normally in the ubuntu virtual machine,In addition, I found that the startup command in the readme is unreasonable. If the network mode of --net=host is used, there is no need to specify the port. If specified, an error will appear WARNING: Published ports are discarded when using host network mode. And when accessed on ubuntu, the correct port is 38080, 8080 does not have any response data

The picture shows the dubbo-admin port diagram started in the windows docker environment image