Can't connect to out port from container

Hello everyone!

I have a machine running docker container.
At real machine, I could telnet to remote_host:post but inside container, I can’t connect or telnet to that remote_host:post

Anyone can explain me how is it? I have opened all rules in iptables.