Hi Keroppi,

Sounds strange... maybe run the server then try to telnet to the port that
you expect it to be listening on. Eg "telnet localhost 8080". If the server
is running OK on that port, telnet will connect, otherwise it will time-out.


Apart from that, all I can think of is that there is a mismatch in the
host/port, as it sounds like the client is trying to connect to a socket
where there is nothing listening.

Regards
Jason


--
Falun Gong: A peaceful meditation practice under persecution in China
http://www.faluninfo.net

Truth - Compassion - Forbearance




-----Original Message-----
From: keroppi kero [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 18 November 2004 9:38 AM
To: [EMAIL PROTECTED]
Subject: What is my mistake?

I've try to begin with xmlrpc.

I've wited an example code from a book . This example create a server and,
in other side, a client.

I started the server and then the client. But the client end with a
IOException. The IOException have the below message: Connect refused: 
connect.

The server and the client are in the same PC.

I've  tryied:
java org.apache.xmlrpc.WebServer
java org.apache.xmlrpc.XmlRpcClient http://localhost:8080 echo test 123

And the result is correct: [test 123].

What can be the exception's launcher?

Thanks, keroppi.

_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
MSN Motor. http://motor.msn.es/researchcentre/




Reply via email to