Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem starting server  RSS feed

 
daniel schulken
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok i get this output
Constructing server implementations...
Binding server implementations to registry...
Test Error :java.rmi.ConnectException: Connection refused to host: cc1083727-a; nested exception is:
java.net.ConnectException: Connection refused: no further information
java.rmi.ConnectException: Connection refused to host: cc1083727-a; nested exception is:
java.net.ConnectException: Connection refused: no further information
java.net.ConnectException: Connection refused: no further information
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.io.IOException(java.lang.String)
java.net.SocketException(java.lang.String)
java.net.ConnectException(java.lang.String)
void java.net.PlainSocketImpl.socketConnect(java.net.InetAddress, int)
void java.net.PlainSocketImpl.doConnect(java.net.InetAddress, int)
void java.net.PlainSocketImpl.connectToAddress(java.net.InetAddress, int)
void java.net.PlainSocketImpl.connect(java.net.InetAddress, int)
java.net.Socket(java.net.InetAddress, int, java.net.InetAddress, int, boolean)
java.net.Socket(java.lang.String, int)
java.net.Socket sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(java.lang.String, int)
java.net.Socket sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(java.lang.String, int)
java.net.Socket sun.rmi.transport.tcp.TCPEndpoint.newSocket()
sun.rmi.transport.Connection sun.rmi.transport.tcp.TCPChannel.createConnection()
sun.rmi.transport.Connection sun.rmi.transport.tcp.TCPChannel.newConnection()
java.lang.Object sun.rmi.server.UnicastRef.invoke(java.rmi.Remote, java.lang.reflect.Method, java.lang.Object [], long)
void sun.rmi.registry.RegistryImpl_Stub.bind(java.lang.String, java.rmi.Remote)
void java.rmi.Naming.bind(java.lang.String, java.rmi.Remote)
void com.wareone.rmi.ProductServer.main(java.lang.String [])
when i run this code
/**
* Insert the method's description here.
* Creation date: (12/18/01 9:08:42 PM)
* @param args java.lang.String[]
*/
public static void main(String[] args) {
try {
System.out.println("Constructing server implementations...");
ProductImpl p1 = new ProductImpl("Blackwell toaster");
ProductImpl p2 = new ProductImpl("ZapXpress Microwave Oven");
System.out.println("Binding server implementations to registry...");
Naming.bind("toaster", p1);
Naming.bind("microwave", p2);
System.out.println("Waiting for invocations from clients...");
} catch (Exception e) {
System.out.println("Test Error :" + e);
e.printStackTrace();
}
i dont see what the problem is does any one else see a problem with this?
 
daniel schulken
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I was using a different port to listen to.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!