Report this

What is the reason for this report?

Need help setting up SSL and ports

Posted on October 5, 2016

Hello guys, I need your help thinking a solution for my problem. I’m using two meteorJS apps on my droplet, one on port 80 (ssl 443) and the other one on port 420. I need to setup SSL for the 420 port app. I can’t use port 443 because it’s already bound to the first app. I’m using Meteor-UP to deploy to my droplet. Any ideas? Thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

change port in default config

Hi there,

Don’t run your applications directly on ports 80 and 443, use a web server, I recommend Nginx! Run your apps on random ports and then setup Nginx to listen on 80 and 443, and configure it to route the traffic to your applications. You can find very good tutorials on how to setup and configure Nginx on your droplet in the community!

Good luck!

for meteoar app you need to run

meteor npm install --save bcrypt 

first than

sudo meteor --port 80

or any port you need

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.