- Newest
- Most votes
- Most comments
The connection timeout issues when trying to connect to Gmail's SMTP servers on ports 465 and 587 could be due to several potential factors. First, ensure that there are no firewall or network security group rules blocking outbound connections to these ports. Even if your server shows that Exim is listening on these ports, outbound connections might be restricted. Verify with your network administrator or cloud provider that traffic to these SMTP ports is allowed.
Another possible issue could be IPv6 connectivity problems. Your nc
command is trying to connect to an IPv6 address (2404:6800:4003:c1c::1b
), and if IPv6 is not properly configured on your server or network, the connection will fail. You can test connectivity over IPv4 by specifying an IPv4 address or disabling IPv6 temporarily to see if the connection works. If the issue persists, checking the Exim and system logs for any additional error messages might provide further insights into what is causing the timeouts.
Relevant content
- asked 4 years ago
- asked 5 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 months ago