Title: Nachricht
netstat tells you the state.
 
timeout value depends upon your os.
 
take a look at the email archive for ideas how to change the value.
 
Andreas
-----Original Message-----
From: konnipati murali [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 12:16 PM
To: [email protected]
Subject: RE: Unable to shutdown the Server...

Hi Andreas,

          How can we know our port is in timewait state. If it is timewait state, how much time it takes approximately, to shutdown the port.

Thank you for ur instant reply,

Murali.K



Schölver, Andreas <[EMAIL PROTECTED]> wrote:
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);
       
      &nbs p; 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

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

Reply via email to