Node HandbookNODE HANDBOOK
Listener

Clash Verge Rev: start mixed server error

Unlike a failed start, this one happens late: the core loaded its configuration and then could not open the mixed listener that serves HTTP and SOCKS on one port. The failure is in the bind, so read the address in the message, not just the port number.

Last updated: 2026-11-24 · Every error string on this page was reproduced on a real client.

What the mixed server is

Clash-family cores can expose three listeners: one for HTTP proxy, one for SOCKS, and a combined one. The combined listener is the mixed server, and it is what mixed-port configures. A single port accepts both protocol families and distinguishes them by the first bytes of the connection, which is why applications configured as either HTTP or SOCKS can both point at 7890.

The error appears when the core tries to open that listener and the operating system refuses. There are only three reasons the operating system refuses: the address is in use, the address does not belong to this machine, or the process is not allowed to bind it.

Read the address, not only the port

The full line looks like this:

Start Mixed Server Error: listen tcp 127.0.0.1:7890: bind: address already in use

Everything before the colon tells you what was attempted. That matters because the same port number on a different address is a different bind, and the two behave differently.

Bind addressMeaningFailure behaviour
127.0.0.1Loopback onlyCollides only with another loopback listener on the same port
0.0.0.0All interfaces, from allow-lan: trueCollides with loopback listeners too, and exposes the proxy to the network
::IPv6 anyCan collide with an IPv4 listener depending on the dual-stack setting
A specific LAN IPOne interfaceFails outright if that address has changed since the configuration was written

The fourth row is the one people miss. A configuration that pins a LAN address works until DHCP hands out a different one, and then the bind fails with an address error that reads like a permission problem. If the message says the address cannot be assigned rather than already in use, this is the cause.

allow-lan changes the failure mode

With allow-lan: false the listener is opened on loopback, and only loopback conflicts can stop it. With allow-lan: true the core binds all interfaces, which does two things at once: it widens the set of conflicting listeners, and it makes the proxy reachable from the network.

That second effect is worth stating plainly. Turning on LAN access to debug a bind error is a common move and it is the wrong direction — it removes a loopback conflict by creating a network exposure. If you only need the proxy on this machine, keep it on loopback and find the loopback holder instead.

On Windows the all-interfaces bind also interacts with the firewall's first-run prompt. A denied prompt can present as a bind failure in some builds, so if the port is verifiably free and the bind still fails, check whether the application was ever allowed through.

Find the holder before you change the port

The port is almost always the default, and the default is shared with every other Clash-derived client you have ever installed. Two commands identify the owner:

netstat -ano | findstr :7890
lsof -nP -iTCP:7890 -sTCP:LISTEN

The name that comes back decides what to do. If it is the core of the same client, the previous instance never exited — end it and restart, because moving to another port would leave two cores connected to the same subscription and the log would then show duplicate connections that look like a provider fault. If it is a different application you want to keep, move this client's port instead.

When you move the port, change it in both places it can be written: the application setting and the profile's mixed-port. A profile that carries its own value overrides the interface on every reload, which is why a port change sometimes appears to revert.

The three bind failures and what each means

  • address already in use — another process holds it. Find the PID. This is a local conflict and has nothing to do with the node or the subscription.
  • cannot assign requested address — the address is not on this machine. Usually a pinned LAN IP that changed, or a configuration copied from another computer.
  • permission denied — the port is privileged or the process lacks the right. Below 1024 requires elevation on Unix-like systems; some security products block binds on any port for unrecognised binaries.

Each of those leads somewhere different. Treating all three as "port conflict" and cycling through port numbers is the reason this error can consume an afternoon without progress.

When the listener opens and traffic still fails

A successful bind proves only that the port is open. It says nothing about whether connections through it reach a node. If the mixed server started and applications still report no connectivity, the next layer is the routing decision: whether the request matched a proxy, whether that proxy was reachable, and whether the group it belonged to had a selected member. Those failures are logged per request rather than at startup, so the startup log being clean is not evidence that the path works.

Frequently asked

Does this error mean the core is broken?

No. The core loaded its configuration successfully and got as far as opening a listener, which is late in startup. The failure is in one bind call, so the binary and the profile are both fine.

Why does 0.0.0.0 fail when 127.0.0.1 works?

allow-lan: true binds all interfaces, which includes loopback, so it collides with anything loopback collides with — plus anything else bound to a specific interface. A loopback-only bind is a strictly smaller target. If only the all-interfaces bind fails, you have a conflict on a non-loopback address.

Can two clients share one mixed port?

No. Only one process can hold a listening socket on a given address and port pair. Clients that appear to share it are either chained through each other or one of them silently failed to bind.

Is it safe to change the port to something high?

Yes, and it is the right move when the current holder is something you want to keep. Remember to update the system proxy setting, any application-level proxy configuration, and environment variables — a core that binds a new port while everything else still points at the old one looks exactly like a failure.

The port is free but it still fails. What else?

Check whether the bind address exists on this machine, and whether a security product is blocking the bind. Both produce messages that do not mention a conflict, and both are invisible to a port scan.