Failed to start ChirpStack open-source LoRaWAN Network Server

Oct 06 10:15:02 rockpi-4b chirpstack[1165]: thread 'main' panicked at 'error binding to 0.0.0.0:8080: error creating server listener: Address in use (os error 98)', /cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.27/src/server/server.rs:79:13
Oct 06 10:15:02 rockpi-4b chirpstack[1165]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Oct 06 10:15:02 rockpi-4b chirpstack[1165]: 2023-10-06T10:15:02.663984Z  WARN chirpstack::api::backend: Backend interfaces API is disabled
Oct 06 10:15:02 rockpi-4b chirpstack[1165]: 2023-10-06T10:15:02.644935Z  INFO chirpstack::gateway::backend::mqtt: Starting MQTT consumer loop
Oct 06 10:15:02 rockpi-4b systemd[1]: chirpstack.service: Main process exited, code=exited, status=101/n/a
Oct 06 10:15:02 rockpi-4b systemd[1]: chirpstack.service: Failed with result 'exit-code'.
Oct 06 10:15:02 rockpi-4b systemd[1]: chirpstack.service: Scheduled restart job, restart counter is at 5.
Oct 06 10:15:02 rockpi-4b systemd[1]: Stopped ChirpStack open-source LoRaWAN Network Server.
Oct 06 10:15:02 rockpi-4b systemd[1]: chirpstack.service: Start request repeated too quickly.
Oct 06 10:15:02 rockpi-4b systemd[1]: chirpstack.service: Failed with result 'exit-code'.
Oct 06 10:15:02 rockpi-4b systemd[1]: Failed to start ChirpStack open-source LoRaWAN Network Server.

I installed chirpstack on ubuntu and was working fine. After some restarts of machine I am seeing this error.

Please help!

used below command to see who is using the port

netstat -npl

found this one

tcp6       0      0 :::8080                 :::*                    LISTEN      518/chirpstack-appl 

I found another chirpstack application was using 8080 , I killed that process and restarted network server and it worked.

sudo kill 518

and for restart

systemctl restart  chirpstack