!!! Connection refused !!!

Hi Friends !

I 've written code for a simple stateless session bean . And trying to access the bean in the Servlet Client....as

Object obj=Naming.lookup("ejb/com/nucleus/classic/mypack/CustomerHome");

cdhome=(CustomerHome)PortableRemoteObject.narrow(obj,CustomerHome.class);

cdremote=cdhome.create();

cdremote.getName();

but I'm unable to get the reference of the Home interface........

After executing the lookup() , it throwing an exception......

java.net.ConnectionException : connection refused.

I'm trying to run it on Websphere5.0 in IBM websphere IDE 5.1

1) Server is running.

2)port is also correct.. (http://locahost:9080/.........)

what might be the reason.............?

[762 byte] By [RS_Deva] at [2007-11-27 4:30:14]
# 1
firewall, permissions, you didn't ask nicely, etc. etc.
jwentinga at 2007-7-12 9:39:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...