I’m setting up Discourse with DigitalOcean and I was wondering how to change the post numbers on DigitalOcean.
The reason I’m asking is because my domain name port numbers are different from what DigitalOcean was using. In the console, it says that it failed to connect through port 443 and 80, but it has to connect through port 587. Any help would be appreciated.
If you want to change the port discourse is listening to, you have to edit the file app.yml in the containers directory.
There a few lines from top is a line that read something like 80:80 and 443:443.
The first number is the port outside the docker container, the second is the internal container port.
Change it to 587:443 for example.
Then make a
./launcher rebuild app
From the /var/discourse dir
But in digitalocean you can use whatever port you want, i have a cloud server there and no problem using 80 and 443 ports.
I don’t think you’re understanding the problem, I know MailJet accepts port 587. The problem is that in the Digital Ocean console, it says that connection to the site failed when trying to connect through ports 443 and 80. Those port numbers are different, that’s why it’s not working.