By bilinkis
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.