Thursday, August 24, 2017

rackspace - Connection Refused When Trying To Connect To IRCd-Hybrid



I have a Rackspace server running Ubuntu Lucid Lynx, where I have installed an IRCd-Hybrid. I can connect to the IRC server using irssi that was installed on the same machine where the server is, but when I try to access it from my computer at home or my friends try I get this error:





Connection Refused




What should I do?


Answer



I assume that probably means a firewall somewhere is blocking the connection. On your home machine, try connecting directly to the IRC port on your server. If you are running linux you can do this with telnet:



$ telnet your.example.server 6667



you should get some response from the server (you might have to hit enter first).



If that doesn't work, there's probably a firewall involved. Check the server where you are running ircd. What does the output of /sbin/iptables -nvL show for firewall rules? I bet you have a standard 'default-deny' setup, where incoming connections are dropped unless they are going to specific predefined ports.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...