Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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'm playing around with using a Rackspace Cloud Server (running CentosOS 5.5) as a server for the Beanstalk Message Queue system. I'm starting Beanstalk with the command line of "Beanstalkd -d -l ip address -p 11300.

All appears to start ok and no errors occur. Now I'm told I can telnet to the 11300 port on that IP address and check that all is running ok. But when I do telnet ip address 11300, I get a 'Connection refused' error, suggesting that the port is blocked or at the very least, not open.

Does anyone know if I have to open the port on a Rackspace Cloud server and if so, how I do that? Or is there something I'm missing? I'm far more into software programming than servers, so any help or suggestions would be appreciated!

share|improve this question
up vote 5 down vote accepted

CentOS by default has the iptables firewall running. You will most likely have to open port 11300 try

/sbin/iptables -I  RH-Firewall-1-INPUT -p tcp -m tcp  --dport 11300 -j ACCEPT

If that works then save the new firewall state with

/sbin/service iptables save
share|improve this answer
Thanks Iain,Thats sorted it! Knew it would be my lack of server knowledge! – TIW Apr 12 '11 at 21:41

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.