DO Droplet のサイズ変更後に接続エラーが発生

You probably have Nginx or Apache installed on the server. You should remove them and

cd /var/discourse
./discourse-setup

to reconfigure Discourse for the amount of RAM you have.