litinoveweedle / hassio-addons

Apache License 2.0
2 stars 2 forks source link

Port 8080 already in use #20

Open PatrickOnGit opened 4 months ago

PatrickOnGit commented 4 months ago

Thank you for creating this addon.

The addon does not start as another addon (unifi Controller im my case) is already using port 8080.

[07:59:01] INFO: netflow2ng --metrics=127.0.0.1:8080 --listen-zmq=tcp://127.0.0.1:5556 --log-level=error --listen=0.0.0.0:2055 --log-level=info level=info msg="Starting netflow2ng" level=fatal msg="listen tcp 127.0.0.1:8080: bind: address already in use" [07:59:01] INFO: Service netflow2ng exited with code 1 (by signal 0)

Is there a way to reconfigure your addon to use a different port? Like providing more configuration options?

Thank you

stevehof commented 3 days ago

Hi @PatrickOnGit

Are you using it as a docker container? I found that setting the ntop external port proxies the port, so you can just set the port to a port of your choosing like 3001 instead of 8080 or 80 or 3000 which were all in use for me.