Title: Nachricht
Your port may be in timewait state (or sth like that). wait for some minutes.
-----Original Message-----
From: konnipati murali [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 12:07 PM
To: [email protected]
Subject: Unable to shutdown the Server...

Hi Everybody,

          I am trying to shutdown the XML-RPC Server using the built-in WebServer.shutdown() method. But after i exectued the class, When i try to see the status of the port, it is still showing port is open...

==========
My Code is...
==========
        System.out.println("Creating Server Object ");
        WebServer server = new WebServer(port);
       
        System.out.println("Trying to stop the server ");
        server.shutdown();
        System.out.println("Successfully Server was stoped ");

========
When i telnet to 8080 port, it is showing the following output...
========

        [EMAIL PROTECTED] classes]$ telnet 0 8080
        Trying 0.0.0.0...
        Connected to 0 (0.0.0.0).
        Escape character is '^]'.

Can any body tell me, how to shutdown the Server using the code.

Thanking you in advance,

Murali.K
India.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to