I have a bot script on my website which connects to my own IRC channel on chat.freenode.net and logs conversations to a secure area on my site. I have installed the PEAR Net/SmartIRC library for my site, but it times out trying to connect to chat.freenode.net:6667… presumably because the outgoing port is blocked. I have the same problem trying their alternative ports: 6665, 6666, 6667, 6697 (SSL only), 7000 (SSL only), 7070 (SSL only), 8000, 8001 and 8002. If I try port 80 or 443 however, I correctly get connection refused. It really looks like these outgoing ports are blocked by a firewall.
I can’t find any firewall configuration settings in my cpanel interface, though. How can I allow this outgoing connection?