Aug 27, 2026 · Getting Started · About 9 min

V2Ray First Connection Guide: Choose a Server, Test Real Connection Latency, and Check Your Exit IP

Learn which server to try after importing a subscription, how TCPing differs from a real connection latency test, and how to verify proxy routing with your exit IP and system proxy settings.

At a glance

Complete your first connection in this order: update the subscription, narrow down candidates, test real connection latency, set an active server, enable the system proxy, and check your exit IP. This guide uses v2rayN on Windows and is for users who have a subscription URL but aren't sure whether its servers actually work. Consider test results, browser access, and your exit IP together—seeing a latency value in the server list alone doesn't confirm a successful connection.

Check the subscription group and server source

First, distinguish the client, core, and subscription. v2rayN manages subscription groups, servers, and proxy settings; the core handles the actual connection. A subscription URL provides server configuration, not a client download. A successful subscription update only means the configuration was retrieved and parsed—it doesn't mean every server in it is reachable from your current network.

This guide follows the commonly used Chinese-language v2rayN interface. Menus and shortcuts can vary by version, so follow the full menu names shown in your client. For initial troubleshooting, turn off TUN to avoid having it and the system proxy handle traffic at the same time, which can make it unclear which route a request is taking.

  1. Check the group

    Open Subscription Group → Subscription Group Settings from the top menu and verify the URL for the group you want to use. If you create a group with Add, give it a note that identifies its source. Don't enter a web address for a sign-in portal in the subscription URL field.

  2. Update the subscription

    Return to the Subscription Group menu. If no proxy is available yet, start with Update All Subscriptions (without proxy). If the subscription server is only reachable through a proxy, first establish a working connection, then choose the corresponding update option that uses the proxy.

  3. Narrow down candidates

    Switch to the group you just updated and pick two or three servers that the provider recommends for your connection or clearly identifies for your intended use. A region label is only a note: it doesn't confirm the actual exit location or guarantee speed.

  4. Run the test

    Select the candidate rows, right-click, and choose Test server real connection latency. Wait for the tests to finish before comparing results. Don't update the subscription, run bulk latency tests, and switch the active server all at once.

  5. Activate a server

    Right-click a candidate that passed the test and choose Set as active server. Confirm the active marker has changed, then check the logs for core startup errors. Selecting a row with the mouse alone may not change which server the current connection uses.

TCPing vs. real connection latency

TCPing checks whether a TCP connection can be established to the server's target port. It doesn't verify the subscription's user ID, TLS settings, or proxy protocol handshake, nor does it check whether a website can be opened through the proxy. TCPing can still show a result even if the port is reachable but protocol authentication fails.

A real connection latency test sends an actual test request through the server, so it's closer to real application traffic than TCPing. Results still depend on the test URL, DNS, timeout, server exit, and client implementation. A successful test means that request completed; it doesn't guarantee access to every site or tell you the available download bandwidth.

TCPing

What it tests
Server address and TCP port
What it verifies
Basic TCP connectivity
What it doesn't prove
Successful protocol authentication, TLS, or website access
When to use it
Check whether an address or port is reachable

Useful for an initial connectivity check, but it can't replace a proxy route test.

Real connection latency

What it tests
A test request sent through the server
What it verifies
The route between the current configuration and the test target
What it doesn't prove
Sustained bandwidth or access to every site and application
When to use it
Choosing a server for the first time and rechecking connection issues

Keep the test URL and timeout settings the same when comparing candidates.

Open Settings → Parameter Settings and check the real connection test URL and timeout options available in your version. Don't keep changing the test target just to get a better-looking number. If every server fails, first check whether your device can resolve the relevant domains, whether its clock is correct, and whether the test URL is temporarily unavailable. Don't assume the entire subscription is invalid.

Enable the system proxy and check the local port

After setting an active server, applications still need to send their requests to the client. On Windows, right-click the v2rayN tray icon and choose System Proxy → Automatically configure system proxy. Use a browser that follows the system proxy for your initial check. Some command-line tools, games, and apps with their own proxy settings won't use it automatically.

System proxy

Recommended

Start with a basic browser check. After enabling the proxy, make sure its address points to your local machine and its port matches v2rayN's current inbound listener. When you're done testing, choose Clear system proxy.

Best for: first connection, browser access, and troubleshooting one layer at a time.

TUN mode

TUN requires a virtual network interface, routing, and the necessary permissions. It's useful for traffic that doesn't follow the system proxy, but adds more variables to troubleshoot. Don't enable it alongside the system proxy before confirming that the server works.

Best for: taking over traffic from more apps after basic connectivity is confirmed.

Check the local listening settings under Settings → Parameter Settings, then compare them with the manual proxy address under Windows Settings → Network & Internet → Proxy. The numbers below are examples for instruction, not defaults for every version. Use the values shown in your client.

10808
Example local HTTP or mixed inbound port
127.0.0.1
Local loopback address, not a remote server
443
Common destination port for HTTPS, not a local proxy port

Don't copy a server's remote port as the local proxy port. If the logs show address already in use or a bind error, another process may be using that listener. Close any duplicate client instances, then check the port. After changing it, reapply the system proxy so Windows doesn't keep pointing to the old port.

Check your exit IP and routing rules

Choose an IP lookup page and first check which routing rules are active. To verify proxy egress, temporarily switch the routing setting to global proxy for a comparison, then restore your usual rules. Global proxy here refers to routing behavior; it doesn't mean every application on your system will automatically use the proxy.

  1. Record a direct-connection baseline. Keep TUN off, choose System Proxy → Clear system proxy, then refresh the lookup page and note your current public IP. If your browser has separate proxy settings, turn them off first to keep the test conditions consistent.
  2. Test the proxy route. Restore Automatically configure system proxy, confirm the active server is the one that passed the test, then refresh the same lookup page and note the exit IP.
  3. Check the request route. Use the active routing rules and available logs to determine whether the lookup domain went direct or through the proxy. Test again after switching servers. If the page cached its previous result, open a new session or cross-check with another lookup page.
  4. Restore your usual rules. Undo the temporary global proxy setting, then visit the sites you actually need to use. Passing an IP lookup test doesn't mean your routing rules behave as expected for every destination.

IP geolocation databases can be out of date, and the same exit IP may show different cities on different services. A server note, the server's connection address, and the exit IP are three different things; they can differ when traffic passes through a relay or exit gateway. Judge the route by where requests actually go, not by the region in a server note.

To avoid differences in how browsers handle the system proxy, you can explicitly send a request through the local HTTP proxy. The command below works with curl.exe on Windows, provided you've confirmed that 10808 is an HTTP or mixed inbound port and that the current routing rules send the request through the proxy.

curl.exe --proxy http://127.0.0.1:10808 --connect-timeout 10 --max-time 20 -I https://example.com/

This command only checks whether a request to the example site through the local proxy returns HTTP response headers; it doesn't show your exit IP. Using http:// for the proxy connection doesn't turn HTTPS traffic to the destination into plaintext. HTTPS requests typically establish a tunnel with HTTP CONNECT. Check your exit IP separately after receiving a response; if the request times out, use the logs to find where it failed.

Troubleshoot by where the first connection fails

Keep track of the current server, test time, and exact error message, and change one thing at a time. Don't switch servers, change DNS and the local port, and enable TUN all at once. Even if access returns, you won't know which change helped. Before sharing screenshots or logs, remove subscription URLs, user IDs, and other credentials.

TCPing returns a value, but real connection latency times out?

Run a real connection latency test on another candidate in the same subscription group. If only one server fails, check that its protocol and TLS parameters are complete. Try updating the subscription again before changing SNI yourself. If they all fail, check the test URL, your local network, and the logs.

Real connection latency succeeds, but the browser still can't open sites?

First check that System Proxy is set to Automatically configure system proxy, then compare the system proxy port with the local listening port. Temporarily disable the browser's own proxy settings and try another browser. If an explicit proxy command works but the browser doesn't, focus on the browser and system proxy layer.

The exit IP hasn't changed. Does that mean the server isn't working?

Not necessarily. First make sure TUN is off, the browser is using the system proxy, and the lookup domain isn't matched by a direct-connection rule. Temporarily switch to global proxy routing and try again. Also consider that two candidates may share an exit IP; a change—or no change—in IP after switching servers isn't conclusive on its own.

Websites open, but other apps can't connect?

Check whether the app supports the system proxy or lets you enter an HTTP or SOCKS proxy manually. If it does, enter the protocol and port provided by the client. If you need TUN, configure permissions, DNS, and routing according to the documentation. Avoid using both connection paths while troubleshooting your first connection.

The browser loses its connection after you close the client?

Check whether Windows is still set to use a manual proxy pointing to a local port that is no longer listening. Reopen v2rayN and choose System Proxy → Clear system proxy, or remove the proxy settings left by this test in Windows Settings. If your device is managed by an organization, check its existing proxy requirements before changing any managed settings.

Save your first-connection test results

After your first connection, a reproducible record of what you checked is more useful than remembering one low latency result. Networks, subscription contents, and server exits can change. Using the same steps next time makes it easier to tell whether the issue is with the subscription update, core connection, application routing, or proxy rules.

To review subscription imports and proxy settings, see subscription group setup, real connection latency tests, and system proxy settings. If you need to route traffic from apps that don't follow the system proxy, read the TUN setup guide. Don't use a more complex routing mode to mask an unresolved basic connection problem.

Download v2rayN