I installed the Frigate (Full Access) Add-on and created a basic frigate.yml file. When I start Frigate, I get
Failed to start add-on
Port '8555' is already in use by something else on the host.
I am not that good with shell commands, but was not able to find any process listening on this port.
Does anyone have suggestions on how I can find the process that is using this port?
Appreciate any help.
Thanks.
Tamsy
(Tamsy)
November 2, 2024, 8:41am
2
It would be helpful for the community if you post the basic frigate.yml you created here.
Anyway, to see what service is using port 8555 on your system run from CLI:
sudo lsof -i:8555
or to see what ports are in open/listening state run:
sudo lsof -i -P -n | grep LISTEN
Thank you @Tamsy .
sudo lsof -i:8555
returns about 50 lines.
sudo lsof -i:8555 | grep 8555
returns nothing.
sudo lsof -i -P -n | grep LISTEN
returns nothing.
To me, it looks like the operating system thinks that there are no processes listening on port 8555 but Frigate does. Hence my confusion.
The content of frigate.yml
is:
mqtt:
host: !secret mqqt_host
port: !secret mqtt_port
topic_prefix: frigate
client_id: frigate
user: !secret mqtt_user
password: !secret mqtt_password
stats_interval: 60
detectors:
coral:
type: edgetpu
device: usb
Tamsy
(Tamsy)
November 3, 2024, 12:08am
4
Check the Frigate logs for errors.
Maybe you want to change WebRTC from default port 8555 (TCP & UDP) to port 8554.
Here is how I configured WebRTC through the Frigate Add-on configuration page:
That did the trick. I also got the port in use error with 8554 so I am using 8553 and everything is working. Thank you for your help with this, @Tamsy .