try netstat -nl | 7199 If you can see something then fine else that service itself not running..
On Sat, Sep 8, 2012 at 8:40 PM, Mohit Anchlia <mohitanch...@gmail.com>wrote: > Are both running on the same host? > > > On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang <owenzhang1...@gmail.com>wrote: > >> When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the >> following error >> "Failed to connect to '127.0.0.1:7199': Connection refused" >> But if I run in terminal, all will be fine. >> > > -- ∞ Shashwat Shriparv