Why check ports
When FlClash fails to start, or the system proxy is on but nothing loads, a taken port is often the reason. The usual cause is several proxy apps installed at once, or a development server sitting on 8080 or 9090.

The checks
| Check | Basis |
|---|---|
| Range | FlClash requires ports between 1024 and 49151 |
| Repeats | No two ports may share a number |
| Common holders | 7890, 7897, 10808, 9090 and others are often used by other software |
Finding who holds a port
The tool builds three commands for the ports you enter:
- Windows uses PowerShell's
Get-NetTCPConnectionand shows the process name; - macOS uses
lsof; - Linux uses
ss, which needs sudo to see other users' processes.
If the process is FlClashCore, that is FlClash itself; if it is something else, either close it or give FlClash another port.
After changing a port
Change the mixed port and the system proxy follows automatically; programs where you set the proxy by hand (browser extensions, http_proxy in a terminal) need changing yourself.
Can I use port 80 or 443?
FlClash does not accept ports below 1024, and systems usually need administrator rights to listen on them.
Does the external controller port need to be in the same range?
This tool does not check its range, but it still must not repeat another port.