try doing "emctl status agent" and then

telnet grid_server_name gridport
telnet host_name host_port

Both ports and server names will be listed when you do "emctl status agent".
You need to connect to one server from the other and vice versa specifying
the port. you will then know if a port is open to a particular server.