Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@custody/plugin-clear-port-conflicts
Advanced tools
Custody plugin to clear port conflicts between processes
If you're using Supervisor for local development of microservices, the processes launched by Supervisor are probably not the servers themselves but rather build processes, which in turn launch the servers. The process tree might look something like this:
supervisord
- gulp (using gulp-nodemon)
- node
Something in this chain tends to lose the server process, so that it keeps running, but no longer under Supervisor control. When, eventually, the "supervised" process starts/restarts, the new server crashes with an EADDRINUSE error.
This custody plugin can automatically fix such port conflicts.
npm install -g @custody/plugin-command-clear-port-conflicts
Then launch custody-cli settings
and add "@custody/plugin-command-clear-port-conflicts" to your
.custodyrc
. Finally, restart custody-cli
to get it to pick up the new plugin.
This module requires that you instrument every process you wish to de-conflict with @custody/probe, please configure that before proceeding. This is because this plugin requires @custody/probe to report the EADDRINUSE error, as described here.
Once you've set up the plugin and probe(s) as described above, this plugin will operate automatically.
When the plugin detects a port conflict, it will kill the process listening to your desired port, then restart the supervised process.
We welcome bug reports and feature suggestions!
FAQs
Custody plugin to clear port conflicts between processes
We found that @custody/plugin-clear-port-conflicts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.