Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

problem starting server

 
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.
 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic