Error: That port is already in use.
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$ python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
May 09, 2016 - 11:12:08
Django version 1.9.5, using settings 'empl.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Error: That port is already in use.
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$
Solution
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$ ps aux | grep -i manage
root 106 0.0 0.0 0 0 ? S< May08 0:00 [charger_manager]
root 855 0.0 0.0 38328 2344 ? Ss May08 0:00 /sbin/cgmanager -m name=systemd
root 862 0.0 0.1 337484 4948 ? Ssl May08 0:07 /usr/sbin/ModemManager
root 899 0.0 0.2 449416 8272 ? Ssl May08 0:01 /usr/sbin/NetworkManager --no-daemon
nobody 2259 0.0 0.0 52868 2712 ? S May08 0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid --listen-address=127.0.1.1 --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
root 3590 0.0 0.1 207572 4148 ? Sl May08 0:00 /usr/sbin/pppd nodetach lock nodefaultroute ipv6 , ttyUSB0 noipdefault noauth usepeerdns lcp-echo-failure 5 lcp-echo-interval 30 idle 0 ipparam /org/freedesktop/NetworkManager/PPP plugin /usr/lib/pppd/2.4.7/nm-pppd-plugin.so
sanu 7868 0.0 0.7 68860 28256 pts/2 T May08 0:00 python manage.py runserver
sanu 8408 0.4 0.9 237972 35736 pts/2 Tl 00:02 0:03 /home/sanu/raghu/raghuvirtualenv/bin/python manage.py runserver
sanu 8595 0.0 0.0 14228 936 pts/2 S+ 00:15 0:00 grep --color=auto -i manage
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$ kill -9 7868
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$ python manage.py runserver
System check identified no issues (0 silenced).
May 09, 2016 - 11:35:24
Django version 1.9.5, using settings 'empl.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Performing system checks...
System check identified no issues (0 silenced).
May 09, 2016 - 11:12:08
Django version 1.9.5, using settings 'empl.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Error: That port is already in use.
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$
Solution
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$ ps aux | grep -i manage
root 106 0.0 0.0 0 0 ? S< May08 0:00 [charger_manager]
root 855 0.0 0.0 38328 2344 ? Ss May08 0:00 /sbin/cgmanager -m name=systemd
root 862 0.0 0.1 337484 4948 ? Ssl May08 0:07 /usr/sbin/ModemManager
root 899 0.0 0.2 449416 8272 ? Ssl May08 0:01 /usr/sbin/NetworkManager --no-daemon
nobody 2259 0.0 0.0 52868 2712 ? S May08 0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid --listen-address=127.0.1.1 --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
root 3590 0.0 0.1 207572 4148 ? Sl May08 0:00 /usr/sbin/pppd nodetach lock nodefaultroute ipv6 , ttyUSB0 noipdefault noauth usepeerdns lcp-echo-failure 5 lcp-echo-interval 30 idle 0 ipparam /org/freedesktop/NetworkManager/PPP plugin /usr/lib/pppd/2.4.7/nm-pppd-plugin.so
sanu 7868 0.0 0.7 68860 28256 pts/2 T May08 0:00 python manage.py runserver
sanu 8408 0.4 0.9 237972 35736 pts/2 Tl 00:02 0:03 /home/sanu/raghu/raghuvirtualenv/bin/python manage.py runserver
sanu 8595 0.0 0.0 14228 936 pts/2 S+ 00:15 0:00 grep --color=auto -i manage
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$ kill -9 7868
$ (raghuvirtualenv)sanu@sanu-Inspiron-N5010:~/raghu/emp/empl$ python manage.py runserver
System check identified no issues (0 silenced).
May 09, 2016 - 11:35:24
Django version 1.9.5, using settings 'empl.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Comments
Post a Comment