I'm trying to connect to port 3306 on an Ubuntu box and am unable to do so. When I do iptables -L -n | grep 3306
I see this:
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:3306
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:3306
So it looks like I should be able to connect.
Are there any rules that I should look for that could undo these? In my cursory glance I didn't see any. Plus, when I do grep 80
and grep 443
I see pretty much the same thing as above, but with 80 and 443 instead of 3306. And I'm able to connect on ports 80 and 443 even tho I'm not able to connect on port 3306.
The webserver is hosted on Rackspace's cloud. I know AWS has additional firewall rules independent of the OS that can be set - does Rackspace? I wasn't able to find any in going through the menu and my Google searches haven't proven very fruitful either.