abp docker curl: (56) Recv failure: Connection reset by peer

将abp部署到docker上时,容器内根据http://localhost:21021/xxxxx可以访问,但是在宿主机上无法访问,报标题错误。

百度了一大堆,忽然想到是配置文件Url的问题。

只需将"Url": "http://localhost:21021/"修改成"Url": "http://*:21021/"。

原文地址:https://www.cnblogs.com/subendong/p/13424508.html