Docker Community Forums

Share and learn in the Docker community.

Docker containers can't telnet external host in 993 port (IMAP SSL)


(Luisnabais) #1

Hi there.

I have a Docker host where I can telnet an external host normally, in port 993 (IMAP SSL).
However, in any container I can’t do it.

I guess it has something to do with iptables not allowing some ports out, don’t really know why, as other ports I can telnet, such as smtp port on other host, also external.

Is there any easy way to do this change (allow communication out on this host/port), but don’t affect any other containers?

Thanks a lot.
Best regards,
Luis Nabais