Project V, V2Fly and Xray Explained: Core Engines and Client Apps

Learn how Project V began, how the V2Fly and Xray core engines differ, and where v2rayN, v2rayNG and v2flyNG fit in the ecosystem.

At a glance

If an imported subscription won't connect, or the same node behaves differently on another device, check three things separately: what the client imported, which core engine actually started, and whether that engine can use the configuration. This guide explains the Project V branches and shows how to check core versions, node settings and routing on desktop and Android.

How Project V, V2Fly and Xray are related

Project V was the umbrella name used by the early project, while V2Ray is its core program for network proxying. It separates receiving connections, choosing an outbound and connecting to the remote server: inbounds accept traffic, routing rules select an outbound, and the outbound handles the connection using the relevant protocol. V2Ray is sometimes used to refer to the whole toolset, but when reading configuration docs, first check whether they mean the core or a graphical client.

The V2Fly community continues to maintain the V2Ray core, which remains named v2ray-core. Xray branched from the V2Ray codebase in 2020 and is maintained as an independent project under the name Xray-core. The two share some configuration structures, such as inbounds, outbounds and routing rules, but similar top-level structures do not guarantee that fields, values or defaults will remain the same.

2020
Xray branched off from V2Ray
10808
Common local proxy ports in v2rayN; check settings for the actual values

Match the version number to the core name

When recording an issue, note the client version separately from the core name and version shown in the startup log. Updating the interface does not mean the running core was updated too. A listening local port only shows that a local process is accepting connections; it does not prove the remote node is available.

What v2rayN, v2rayNG and v2flyNG do

The client reads share links and subscriptions, groups nodes, saves your choices, and converts or writes those settings into a runtime configuration. The core handles local connections, routing, protocol operations and outbound connections. So seeing a node in the list only confirms that the client read its entry; whether a field was retained and whether the core can use it must be checked separately.

v2rayN: Desktop client

Recommended

Available for Windows, macOS and Linux, with node lists, subscription groups and routing settings. Supported cores vary by release package and version. To see which core handles a particular node, check its entry, the global core settings and the startup log.

Best for: Managing multiple subscriptions on desktop and checking node settings and core logs.

v2rayNG: Xray client for Android

Uses the Xray core. After importing a VLESS node with REALITY, check both that the client read the fields correctly and that the bundled core version supports that combination. The app uses Android's VPN interface to receive traffic; that does not mean all traffic must use the same outbound.

Best for: Using node configurations on Android that specifically require Xray.

v2flyNG: V2Fly client for Android

Uses the V2Fly core. If your subscription mainly uses VMess and the server's transport and security settings are supported by your V2Fly version, follow the V2Fly documentation to check them. You do not need to apply Xray-specific fields.

Best for: Reusing a verified V2Fly configuration on Android.

Compatibility boundaries: node links, subscriptions and core configurations

A single-node share link mainly describes remote connection settings. A subscription is how a client fetches a group of nodes, and the client still needs to recognize the returned format. A full core configuration may also include local inbounds, multiple outbounds, DNS and routing. These are different kinds of files. Importing a VMess link on another device usually does not transfer the original device's system proxy, per-app routing or custom routing rules.

SettingWhat to checkCommon misconception
VMess and WebSocketAddress, port, user ID, WebSocket path, and server name when TLS is enabledBeing able to import VMess on both clients does not mean the path and server name match
VLESS and REALITYWhether the core supports this combination; the server name, public key, short ID and the flow required by the serverVLESS is a proxy protocol and REALITY is a connection security mechanism; matching the protocol name alone is not enough
Routing and outboundsRule order, the outbound associated with outboundTag, and any required geodata filesA working node does not mean direct and proxied traffic are routed the same way as on the original device

When migrating, first confirm that both clients use the same kind of import method. An import option that accepts a full configuration handles different fields from one that only accepts node links. If only the subscription format is supported, restore the nodes from the subscription, then recreate the rules using the target client's routing features. If documentation lists VLESS and REALITY together, confirm what the server actually requires; do not remove unfamiliar fields just to make the configuration parse.

Check the core actually running in v2rayN

These steps use the Chinese desktop interface in v2rayN 6.x for Windows. Menu labels may change between versions. The core type page shows the selected option; check the logs to confirm what actually ran. Testing with a previously working node whose settings are known helps keep subscription updates separate from core changes.

  1. Confirm the test node

    Double-click the node on the main screen to open its editor. Note the protocol, transport and security settings, then close the editor without changing them. Check the address and port too. When reporting an issue, do not include the user ID or subscription link.

  2. Check the core type

    Go to Settings → Parameters → Core Type Settings and check the selected core for the relevant protocol. If the node editor has a separate core setting, check that too; the global default alone does not tell you which core the current node uses.

  3. Check the local proxy endpoint

    In Settings → Parameters, open the Core: Basic Settings page and check the local listening port. If your test program is set to 127.0.0.1:10808, make sure it matches the address and port actually listening, and confirm that the proxy type is supported by that endpoint.

  4. Check the startup log

    Save, then enable the node again. Check the core name and version in the startup information in the main log area. First confirm that the configuration loaded successfully, then try a connection. A port binding error and a remote handshake failure occur at different stages.

  5. Compare routing results

    First test a destination expected to use the proxy, then one expected to connect directly. If the connection works but uses the wrong outbound, check whether an earlier rule matched and verify the matched rule's outbound tag. There is no need to keep switching cores.

Subscription imports but won't connect: troubleshoot by stage

Keep the same node throughout troubleshooting and change only one variable per attempt. That way, even if switching cores restores the connection, you can tell whether the issue was configuration parsing, the client endpoint or the server handshake, rather than a coincidental switch to another node.

  • No nodes appear in the list: Check the subscription update result and the returned format first. Being able to open the subscription URL does not mean its contents can be parsed; for example, if it returns a login page, the client will not find any nodes. Try a working share link from the same source to distinguish a subscription format issue from a problem parsing a single link.
  • The node is visible, but the core fails to start: Find the first clear configuration or listening error in the log. For an unknown field, check which field the error points to, the version of the running core and the client version that generated the configuration. If an address is already in use, check the local port first rather than changing the remote port.
  • The core starts, but the remote handshake fails: Compare the address, port, transport and security settings provided by the server. Matching protocol names cannot make up for a mismatched WebSocket path or server name. A timeout alone does not prove the core is incompatible; check network reachability separately.
  • The test works, but an app cannot connect: Check whether the app is using the client's local endpoint. Desktop apps may ignore system proxy settings; on Android, check whether the app is included in the VPN's coverage. Once the endpoint is confirmed, check which outbound the routing rules actually select.
V2Ray client downloads