Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got IRCD-Hybrid installed with the following listen config:

/* listen {}: contain information about the ports ircd listens on (OLD P:) */
listen {
        /* port: the specific port to listen on.  if no host is specified
         * before, it will listen on all available IPs.
         * ports are seperated via a comma, a range may be specified using ".."

        /* port: listen on all available IPs, ports 6665 to 6669 */
        # host = "";   # change this!
        #port = 6665 .. 6669;
        port = 6667;

and the following iptables -L output:

ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ircd

I can connect to the IRC server through irssi on the server, but when I try and connect from outside the server, I get "no route to host".

nmap confirms that the port is not open. What else can I try?

share|improve this question
Run iptables -nL. Is it allowing port 194 instead of 6667? What is your output of netstat -tan? – ott-- Feb 2 '13 at 17:46
Shows 6667. netstat -tan here: – Randall Ma Feb 2 '13 at 19:25
Can you add the full iptables -nL output too? – ott-- Feb 2 '13 at 20:00 – Randall Ma Feb 2 '13 at 21:01
If the policy is always ACCEPT, you don't need rules. Is the client trying an IPv6 connection? Can you watch network traffic with tcpdump or wireshark? – ott-- Feb 2 '13 at 21:19
up vote 0 down vote accepted

Did some more research: my VPS provider doesn't open all ports by default.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.