v2rayN First Connection Setup: Choose a Server, Test Real-Connection Latency, and Verify Proxy Settings

After importing a subscription, learn how to choose a server, test real-connection latency, enable the Windows system proxy, and verify browser traffic is routed through the proxy.

At a glance

For users who have imported a subscription into v2rayN but haven't confirmed that the proxy is working. Using Windows as an example, this guide shows how to choose a server that passes repeated real-connection tests, set it as the active server, check the system proxy, and verify the browser's outbound route. Latency tests and browser proxy routing are separate checks; testing both helps pinpoint where a problem occurs.

Choose a server and set it as active after importing a subscription

Seeing servers in the main window only confirms that subscription entries were added to the list. A successful subscription update, a successful server test, and browser traffic routed through the proxy are three different outcomes. For your first connection, use the subscription's provided settings. Don't change the port, transport, and core all at once; even if the connection starts working, you won't know what fixed it.

  1. Check the current group

    In the main window, switch to the subscription group you just imported and check that it contains server entries. If the list is empty, open the Subscription Group menu, update that group, then check the list again. Don't mistake an older server with the same name for the new one in the All view.

  2. Choose candidate servers

    Start with two or three entries whose remarks are easy to tell apart, and note each server's remark and protocol. A region in the remark doesn't tell you how fast the route is. If servers share a name, check their address and port columns too, so you don't attribute test results to the wrong route.

  3. Run a real-connection test

    Select a candidate, right-click, and choose Test Server Real Connection Latency. The menu may include the words “multiple selection”; look for “real connection” and don't choose Tcping. When the test finishes, check the latency column. Run two more tests on any server you plan to use.

  4. Set the active server

    Right-click a server that passed repeated tests and choose Set as Active Server. Then check the current-server indicator in the main window and look for new log entries. Selecting a row or running a latency test doesn't mean the browser will use that server.

How to read real-connection latency: check successful tests before milliseconds

Tcping checks whether a TCP connection can be made to the server's address and port; it doesn't confirm a successful proxy protocol handshake. A real-connection test attempts to reach the client's configured test target through that server. A positive latency in milliseconds means the test returned a valid result, but it doesn't guarantee access to every website or indicate download speed.

3 tests
Suggested total tests for each candidate server
180 ms
Example latency readings, not a pass threshold
10808
Example local proxy port; use the value shown in your client

Server with consistent successful tests

Recommended

For example, three tests return 172, 180, and 195 ms. Even if another server is faster once, start with the consistently successful route to reduce the chance that an intermittent timeout will skew your initial checks.

Best for: setting an active server for the first time and establishing a baseline for troubleshooting.

Server that's fast sometimes but times out at other times

For example, three tests return 85 ms, timeout, and timeout. The 85 ms result only reflects the one successful test; don't sort by the lowest reading and select it automatically. Retest it separately when the network is stable before deciding whether to keep it.

Best for: keeping as a candidate to compare after verifying your first route.

Compare servers on the same network and with the same test target. Don't switch between Wi-Fi networks while comparing results. If every server times out in the same round, check your local network, core startup logs, and test target first, then retest two servers. One failed batch isn't enough to conclude that the entire group is unavailable.

Enable the Windows system proxy and check browser traffic

For your first verification, use the system proxy without enabling TUN mode. The system proxy is used by apps that follow Windows proxy settings; it doesn't route all traffic. For browsers, distinguish between a request reaching the local proxy and ultimately being sent through the active server. Routing rules may send requests that reached the client directly instead.

  1. Right-click the v2rayN icon in the taskbar notification area. Under System Proxy, choose Set system proxy automatically. Then open Windows Settings → Network & internet → Proxy and check whether Use a proxy server is enabled under Manual proxy setup.
  2. Check that the address and port in Windows settings match the HTTP or mixed inbound port the client is actually listening on. For example, if the client shows a mixed port of 10808, Windows may show 127.0.0.1:10808. This is the address browsers use to connect to the local client, not the remote server address in your subscription. Don't replace your current settings with the example port.
  3. In a browser that follows system proxy settings, open a test page that should clearly use the proxy. Temporarily disable extensions that change proxy settings, close any existing test tabs, then make a request in a new window. Opening a familiar website alone doesn't show whether it used the proxy or a direct connection, and cached content can also affect the result.
  4. Return to v2rayN and check the main window's log entries for the time of your request. If the current log includes access records, check the target host and outbound tag—for example, proxy for proxy traffic or direct for a direct connection, depending on your configuration. The request was routed through the proxy only if the target matches and it used the proxy outbound. If you have an exit-IP checker you trust, you can also compare results before and after enabling the proxy. If the address hasn't changed, check the outbound record rather than relying on the address alone.

When you're done testing, choose Clear system proxy from the tray menu if you don't plan to keep using the proxy, then check that the setting is reset on the Windows Proxy page. If your computer was already configured to use a work or school proxy, restore the original settings you noted before testing.

First connection failed? Troubleshoot by symptom

Change one setting per test and note when you reproduce the issue. First check which server is active, then reproduce the failure once. Read the new logs from that same time period; don't mistake earlier subscription updates or batch latency tests for the browser request you just made.

The port is reachable, so why does the real-connection test time out?

A reachable port doesn't guarantee a successful protocol handshake or access to the test target. Try another server in the same group without changing the test target. If only one server fails, check for authentication or handshake errors in the logs from that time. For VMess entries, you can also sync the Windows clock under Settings → Time & language → Date & time, then test again. Don't change protocol settings provided by the subscription without a reason.

The latency test returns a result, but the browser can't open websites?

First check that the server that passed the test is set as the active server, then verify the Windows proxy address and port. If the logs show address already in use, another process is using the local listening port. Check whether the client or another proxy app is running more than once. To change the local port, go to Settings → Parameter settings, edit the client's local listening port, then reapply the system proxy and make sure both ports match.

The page opens, so why does the log say direct?

Check that the target host in the log is the test page you just opened, not an image or another resource loaded by the page. If that host did use a direct connection, the client received the request but the current routing rules didn't send it through the proxy outbound. Keep the server and port unchanged, then test another target that should use the proxy under your current rules before deciding whether to adjust the routing configuration.

Why can't the browser connect after I close the client?

Open Windows Settings → Network & internet → Proxy. If the manual proxy still points to a local port that is no longer listening, restart v2rayN and choose Clear system proxy, or turn off the setting manually if you confirmed it was added for this test. If a work or school proxy was already configured before testing, restore its original values. Then reopen the test page to confirm access is back.

Get the client