appengine:devserver_stop not working in Windows 8/eclipse

If you have added appengine:devserver_stop in eclipse as a debug goal in maven goals and still you are not able to stop the server then you can manually close the server on given port.

Let's take an example that your server is running on 8080 that you want to stop.

1) Open command line prompt:
   netstat -a -n -oYou will get following output......
 Proto  Local Address          Foreign Address        State           PID
 TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       700
 TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
 TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING       432
 TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       756
 TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING       788
 TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING       548
 TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING       540
 TCP    10.0.0.69:139          0.0.0.0:0              LISTENING       4
 TCP    10.0.0.69:59690        74.125.23.125:5222     ESTABLISHED     1396
 TCP    127.0.0.1:8080         0.0.0.0:0              LISTENING       2004
.................
............
..........

Note the PID, and give second command as below.
Suppose you have PID= 2004 then enter following command
2)  Taskkill /PID 2004 /F

It will stop the process.

Comments

Popular posts from this blog

Struts 2 : Warning :No configuration found for the specified action: 'Login.action' in namespace: '/'

Read Images from a xlsx file using Apache POI

Upload csv file at Google Cloud Storage using java