This means that Discourse is not running, probably since it was unable to start due to another web server being installed and running.
You’ll want to remove other webserver packages from your host, e.g.: apache2, nginx
The command:
sudo ss -ltp | grep http
should let you know what’s running on that port.