端口要注意
配置Kestrel 在服务器就不要用https
Overriding address(es) 'http://*:9819'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
appsetting.json的配置
注意设置Kestrel
"Kestrel": {
"Endpoints": {
"Https": {
"Url": "https://host.docker.internal:9019"
}
}
},
如果采用守护进程开启的,就注释掉。不然端口会被覆盖
浙公网安备 33010602011771号