1.今天在做docker容器的时候发现如果将.net core 内部监听地址设置为localhost:8888。

2.在docker build -p 6444:8888 运行容器后,外部通过6444端口无法访问内部服务。

3.解决办法监听地址设置为*:8888

05-11 20:26