Quote:
Originally Posted by gamejava
i can access port 22 and port 80 ..but i am unable to access port 8080 and port 3306
|
Define "access".
Is tomcat (which btw?) running and listening on port 8080?
Is mysql(-server) running and accepting connections from localhost on 3306?
Code:
sudo netstat -natp | grep -e 8080 -e 3306
Some tools/code to try.
Code:
lynx localhost:8080
mysql -uroot -p -h127.0.0.1
telnet 127.0.0.1 3306
Firewall rules work only if there's a listening service/daemon on the host to answer/satisfy the request.
fwNoRules + NoDaemon = No Access
fwRules + NoDaemon = No Access
fwRules + Daemon = Access