I am using PyDev in Eclipse on CentOS. Eclipse crashes sometimes and leaves python still using port 8000. Before you can restart the development server, you have to kill the previous process, to do so,
$ sudo /usr/sbin/lsof -w -n -i tcp:8000
which will list the process pid using port 8000
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
python2.7 6211 htang 3u IPv4 157102 TCP 127.0.0.1:irdmi (LISTEN)
$ sudo kill 6211
which will kill process 6211.
How to find the procss using specific port and kill it
Subscribe to:
Post Comments (Atom)
Datatable static image not found on the server
When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...
-
Step 1. Install Oracle XE 11g 1. Download Oracle XE (oracle-xe-11.2.0-1.0.x86_64.rpm.zip) from Oracle official website. You need an accoun...
-
I used the following method to hide the extra long column contents when loading the page. The contents will then display when mouse hover th...
-
When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...
No comments:
Post a Comment