SShortSingh.
Back to feed

PortClue tool identifies port conflicts without ss or lsof installed

0
·4 views

A developer debugging a browser VNC connection discovered that port 5900 was held by a stale x11vnc process rather than the intended one. Standard diagnostic tools ss and lsof were unavailable on the system, making the conflict difficult to identify through conventional means. PortClue, a lightweight open-source utility, resolved the issue by querying the Linux kernel directly and returning human-readable output including the owning PID and binding details. Unlike traditional tools, it describes addresses in plain language, distinguishing loopback-only from all-interface bindings without requiring interpretation. The tool is read-only, poses no risk to running services, and is available on GitHub for systems where standard network utilities are absent.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer builds offline-capable survey widget requiring no backend or dependencies

A developer has released AuraSurvey, a vanilla JavaScript survey widget designed to function without an internet connection. The tool stores user responses in localStorage, allowing surveys to work seamlessly online or offline. It can be embedded into any website or mobile app webview using a single script tag, with no external dependencies required. AuraSurvey also includes built-in chart visualizations, PDF export functionality, and white-label support. The project was motivated by frustration with existing survey tools that fail without connectivity and require server-side infrastructure.

0
ProgrammingDEV Community ·

C# Generic Math Explained: Static Abstractions Beyond Numerical Libraries

Generic Math, introduced in .NET 7 on November 8, 2022, allows C# developers to write generic code that enforces operators, identities, and type-level behavior without relying on reflection or dynamic dispatch. Before this feature, writing even a simple generic summation function was impossible in C# due to the lack of operator constraints on type parameters. The feature is built around interfaces in the System.Numerics namespace, such as IAdditionOperators and IAdditiveIdentity, which define static abstract members that types like Int32 can implement. Beyond arithmetic, the same mechanics apply to parsing, domain-driven design types, database models, tensors, and SIMD operations. Despite its power, Generic Math carries performance and complexity costs when overused, and a developer poll found that most C# programmers remain unfamiliar with the feature and its broader applications.

0
ProgrammingDEV Community ·

Feature Flag Mismanagement Behind Major Outages at Knight Capital, LinkedIn, DoorDash

Feature flags, software toggles used to control code behavior in production, have been linked to several high-profile tech failures when left unmanaged. A 2012 incident at Knight Capital saw a forgotten flag reactivate obsolete trading code, triggering $440 million in losses within 45 minutes and collapsing the firm. A June 2026 GrowthBook report found that 75% of feature flags linger in codebases for up to 49 weeks after their purpose ends, despite developers intending to remove them. DoorDash disclosed in August 2026 that it manages over 60,000 flags across 623 repositories, adding roughly 2,300 new ones monthly, with more than 1,000 already flagged as stale. LinkedIn suffered a full outage in February 2026 after an accidental change switched all feature flags on simultaneously, exposing the compounding risks of unaudited, accumulated toggles.

0
ProgrammingHacker News ·

Hot Coffee Linked to Increased Oesophageal Cancer Risk, Study Suggests

New research suggests that drinking very hot coffee may be associated with a higher risk of developing oesophageal cancer. The findings, reported by The Economist in September 2026, point to heat — rather than coffee itself — as the likely contributing factor. Scientists believe repeated thermal injury to the lining of the oesophagus may trigger cancerous changes over time. The research adds to a growing body of evidence connecting the consumption of scalding hot beverages to oesophageal cancer risk.