crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

Improvement/api change default port

Open tiny-pangolin opened this issue 4 years ago • 2 comments

Please, start your issue name (after improvement) with the component name impacted by this feature request and a small

Is your feature request related to a problem? Please describe. I have run into multiple other applications like pki-tomcat with freeipa and puma with gitlab that also run a local server on port 8080 that have caused the application to not being able to start due to the API running on port 8080 Describe the solution you'd like Change the default api port to something less commonly used like 7070 or 7777

Describe alternatives you've considered (Optional) Update my ansible role to use port 7070.

Example of what you imagine On a fresh install the API will run on a less common port than 8080 to avoid conflict with other services on the server without having to change the defaults

tiny-pangolin avatar Nov 16 '21 15:11 tiny-pangolin

Hello,

This is still a work in progress. Already crowdsec will properly check if 8080 is still in use and will stop trying to revert to port 8080 during packages upgrades. As well, (most) bouncers do not assume anymore that local API listens on port 8080 and picks up the correct one. We need to ensure this logic is true for all the components before we can change the default port.

(yes, this was an unfortunate decision)

buixor avatar Jun 24 '22 14:06 buixor

same issue with gitlab.

TristisOris avatar Aug 02 '22 13:08 TristisOris