Unable to reach my .Net core application deployed on a linux server from web browser

62 views Asked by At

I have the following in my appsettings.json

  "Kestrel": {
"EndPoints": {
  "Http": {
    "Url": "http://0.0.0.0:1000"
  },
  "Https": {
    "Url": "http://0.0.0.0:1001"
  }
 }
}

And when I publish the application and deploy it to the server. I run the following command

dotnet run appname.dll

and I get the following message at the console on the server

enter image description here

But when I visit the IP address and port on the browser, i get the following

enter image description here

Please how can I resolve this to reach the application from the browser?

0

There are 0 answers