0
votes

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

1
What does the nginx error log say?hyvte
@hyvte I'm new to linux ,how do I check that?Idan Fanous
Probably somewhere near /var/log/nginx/error.log.hyvte

1 Answers

0
votes

You can try dotnet run --urls http://0.0.0.0:5000, if it fails you get the 502 code.