在supervisor的启动配置里面增加环境变量: environment=ASPNETCORE_URLS='http://*:5001' 转载于:https://www.cnblogs.com/sunshine-wy/p/9111643.html