I followed the instructions below using ufw, it worked fine and tested instantly for ports 80 and 22, but for 443 I get Connection refused on the test, and no ufw block or in syslog or sign of attempt in auth.log.
Does DO block 443 on their own?
$ sudo ufw status | grep 443
To Action From
443/tcp ALLOW Anywhere 443/tcp (v6) ALLOW Anywhere (v6)
https://www.digitalocean.com/community/tutorials/opening-a-port-on-linux
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 @phobrain,
Port 443 is not being blocked by DigitalOcean. I would assume that you do not have anything listening to port 443 and thus you can’t connect to it.
Additionally, I’ll assume you are using either Apache or Nginx. You’ll need to configure a vhost and in there say that your WebService should listen on port 443 for secure connections. The easiest way would be to install Let’s Encrypt and let it configure it automatically for you.
Hello @phobrain
DigitalOcean will not block this port on your droplet in any case.
Have in mind that even opening the port will need a service listening on it in order to load/open any resource, e.g a web server like Apache/Nginx needs to be configured to listen on this port in order to serve your app/web content.
Regards
I have a droplet accepting traffic on port 443. Do you have a server on port 443?
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.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.