Dotnet does not run on Docker run

Docker runs but localhost doesn’t send any data

Pings work correctly.

I have tried running these command
sudo docker run -it -p 8080:80 -d pradeepgupta/dockernowapi

Source: StackOverflow