By shuming496
I tried to open port 465, But…
ufw allow 465/tcp
ufw allow out 465/tcp
sudo nmap -sS -p 20-2550 localhost
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000019s latency).
Not shown: 2528 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
telnet -4 smtp.gmail.com 465
telnet: Unable to connect to remote host: Connection timed out
Unable to open port 465
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!
Hello,
Recently I had the same issue, even though port 465 was allowed for outgoing TCP connections with the ufw allow 465/tcp command I was still not able to connect.
Then I ran an update along with an upgrade, rebooted the system and the connections started working as normal.
Hope that this helps! Regards, Bobby
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.