UFW blocking webrick on port 3000
Posted
by
t Book
on Server Fault
See other posts from Server Fault
or by t Book
Published on 2014-05-28T14:16:12Z
Indexed on
2014/05/28
15:31 UTC
Read the original article
Hit count: 175
On a ubuntu 10.0.4 server runs redmine. starting webrick with:
./server webrick -e production -b lvps46-173-79-113.dedicated.hosteurope.de -d
makes redmine available in browser. as soon as we enable ufw, webrick can´t be accessed anymore. of course we allowed Port 3000 from anywhere
ufw allow 3000/tcp
ufw allow 3000/udp
also a grep for iptables doesn´t show a deny rule
iptables -nL | grep 3000
find the whole iptables output here http://pastebin.com/k6WNqdPU
checking
lsof -ni tcp:2222
tells me ruby is listening on port 3000
ruby 3457 root 5u IPv4 864846667 0t0 TCP 46.173.79.113:3000 (LISTEN)
What else can we check? what´s wrong with the ufw rules for port 3000?
© Server Fault or respective owner