Forums » Tutorial and setups »
Suddenly tcp: bind: *:9981: Address already in use
Added by Alex & Cats over 3 years ago
Hello all,
Without much changing in my setup im not able to access to tv headend admin panel when i go to start tvheadend it says the ports are in use ( so i assume they are )
How do i find out what is using them ?
Change tvheadend to some other ports without being able to access the admin ?
Im on rpi3 ?
Thanks Alex
pi@raspberrypi:~ $ tvheadend
2021-05-14 17:40:46.175 [ INFO] main: Log started
2021-05-14 17:40:46.177 [ ERROR] tcp: bind: *:9981: Address already in use
2021-05-14 17:40:46.177 [ ERROR] tcp: bind: *:9982: Address already in use
2021-05-14 17:40:46.183 [ INFO] config: loaded
2021-05-14 17:40:46.183 [ INFO] config: scanfile (re)initialization with path <none>
2021-05-14 17:40:46.810 [ INFO] scanfile: DVB-S - loaded 1 regions with 115 networks
2021-05-14 17:40:46.811 [ INFO] scanfile: DVB-T - loaded 44 regions with 1135 networks
2021-05-14 17:40:46.811 [ INFO] scanfile: DVB-C - loaded 19 regions with 62 networks
2021-05-14 17:40:46.811 [ INFO] scanfile: ATSC-T - loaded 2 regions with 12 networks
2021-05-14 17:40:46.811 [ INFO] scanfile: ATSC-C - loaded 1 regions with 5 networks
2021-05-14 17:40:46.813 [ INFO] scanfile: ISDB-T - loaded 2 regions with 1297 networks
2021-05-14 17:40:48.193 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter0/frontend0
2021-05-14 17:40:48.196 [ INFO] dvr: Creating new configuration ''
2021-05-14 17:40:48.197 [ ERROR] access: No access entries loaded
2021-05-14 17:40:48.198 [ INFO] csa: Using 32bit parallel descrambling
pi@raspberrypi:~ $ netstat -pant | grep 9981
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 9 0 0.0.0.0:9981 0.0.0.0:* LISTEN -
tcp 506 0 192.168.178.68:9981 192.168.178.33:53830 ESTABLISHED -
tcp 1 0 192.168.178.68:9981 192.168.178.33:53831 CLOSE_WAIT -
tcp 497 0 192.168.178.68:9981 192.168.178.33:54398 CLOSE_WAIT -
tcp 506 0 192.168.178.68:9981 192.168.178.33:54396 ESTABLISHED -
tcp 507 0 192.168.178.68:9981 192.168.178.33:53974 CLOSE_WAIT -
tcp 507 0 192.168.178.68:9981 192.168.178.33:54136 CLOSE_WAIT -
tcp 507 0 192.168.178.68:9981 192.168.178.33:53861 CLOSE_WAIT -
tcp 455 0 192.168.178.68:9981 192.168.178.33:53981 CLOSE_WAIT -
tcp 496 0 192.168.178.68:9981 192.168.178.33:54342 ESTABLISHED -
tcp 455 0 192.168.178.68:9981 192.168.178.33:54135 CLOSE_WAIT -
The ip on the left is my pi and on the right the computer i use to access the PI.
Replies (1)
RE: Suddenly tcp: bind: *:9981: Address already in use - Added by saen acro over 3 years ago
netstat -lpnt | grep 9981
Is corect command.
killall tvheadend
Also helping