We are able to telnet to port 9160, and didn't have any issues resolving the target along those lines. So at this point, I don't think we're looking at a firewall / network topology issue.
i had a similar issue on windows and it came down to php not being
able to resolve the target ... the solution was to add an entry to the
hosts file ... of course, if there is a firewall blocking ... that's
your problem. can you telnet from remote server to cassandra server
on port 9160?
On Wed, Mar 2, 2011 at 3:49 PM, David McNelis
> Morning folks,
> I'm not sure if this is an issue with my setup of Cassandra, or with
> phpCassa....there is an open question on StackOverflow that is very similar
> to what I am experiencing (1). In short, I can connect using PHP from the
> same machine that Cassandra is running on. I can connect with cassandra cli
> from both the "Cassandra" box and from externally. However, when I try to
> connect using PHP (specifically phpcassa) from an external machine, I get
> hit with a Timeout error.
> Both machines are running PHP 5.3 on CentOS 5.
> In my cassandra.yaml file I tried changing my listen_address to my server's
> IP address instead of 127.0.0.1 and that caused me not to be able to connect
> in general. My rpc_address is 0.0.0.0.
> Has anyone else experienced this or have an inclination where I'm going