These are notes from getting ports open and setup for Hadoop

Turn Off Firewall;
service iptables save
service iptables stop
chkconfig iptables off

Hive is supposed to be running on 10000, but I found this;

nmap localhost
...
10000/tcp open snet-sensor-mgmt

See what app is listening on port (8080 for example);
lsof -i :8080

Testing Ports – use nc – the command which runs netcat
Can you listenat 9000? Try nc -l 9000 and in another console nc localhost 9000, then all input will be echoed in the other console if the connection is good. Here is Ambari responding
nc localhost 8080
Hi
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: close
Server: Jetty(7.6.7.v20120910)