简体   繁体   中英

502 Bad Gateway on asp.net core 3.0 hosted in ubuntu 18.04 TLS with nginx

I published .NET CORE application to ubuntu 18.04 TLS with nginx but when I try browse I get 502 Bad gateaway. I followed this tutorial : Host ASP.NET Core on Linux with Nginx

and when I try to navigate to my website I get the 502 ERROR. My server IP is: 185.162.127.7

您可以尝试dotnet run --urls http://0.0.0.0:5000 ,如果失败,您将获得 502 代码。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM