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 have the following problem:
I cant get etherpad running, when my firewall rules are active.

My firewall:

telnet localhost 3306 gives connection timeout

ps aux | grep mysql:

root     15212  0.0  0.0   4112   712 ?        S    13:54   0:00 /bin/sh /usr/bin/mysqld_safe
mysql    15526  0.7  0.9 426056 75392 ?        Sl   13:54   0:27 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --pid-file=/var/run/mysqld/ --socket=/var/run/mysqld/mysqld.sock --port=3306
root     15527  0.0  0.0   5512   720 ?        S    13:54   0:00 logger -t mysqld -p daemon.error

netstat -tan|grep 3306:

tcp        0      0*               LISTEN

When i turn my firewall off everything works.

mysql IS working as I use it already on my website and for other applications.

share|improve this question
up vote 1 down vote accepted

You will not be able to connect to mysql locally because you have the rule:

iptables -A INPUT -s    -j DROP

This rule will prevent any TCP/IP traffic destined to locahost (IP: The other rules that allow loopback traffic can be found after this drop rule:

iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

So, they will be useless.

share|improve this answer
thx fixed :D I looked so long for that but couldnt find it thx again – nixklug Aug 30 '12 at 13:29

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.