I am trying to run my Nodejs app but keep getting error: initInitialise Cant lock /var/run/pigpio.pid. I tired remove the the file with rm /var/run/pigpio.pid but the error remains. I have read tons of forms about removing the pigpio.pid file and that I probably have another process running. After hours of searching and testing commands I manage to temporally fix it; meaning once the raspberry pi reboots back to constant error. After removing the pigpio.pid file I ran sudo pigpiod. The console reads initInitialise bind to port 888 failed address already in use cant initialise pigpio liabry. I learned afterwards there was some failed process running on port 8888. I shutdowned the process with kill -9. Ran sudo pigpiod again then woosh my application runs. How do fix this issue? It appears I have some failed process running on port 8888.
My application was running fine until I accidentally ftp files wihile the node process was running on server. After that was when pigpio started erroring.
Any input on what might be happening?