Need help setting up SSL and ports

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!

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

change port in default config

for meteoar app you need to run

meteor npm install --save bcrypt 

first than

sudo meteor --port 80

or any port you need

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!