Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
I cant SSh into the server after enabling ufw with this command (sudo ufw enable).
I wanted to setup SSL with lets encrypt and according to DigitalOcean’s documentation, part of the requirements for this is to make UFW active, but when I ran this command (sudo ufw status) I found out that ufw is not active so I had to enable it with (sudo ufw enable) and was able setup SSL for the server but then after this I tried to SSH into the server but I cant, I get this error (ssh: connect to host
my ip addresss port 22: Connection timed out)
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.×