v2rayN First Connection Guide: Choose a Server, Test Latency & Verify Your Proxy

Just imported a subscription? Learn how to choose a server, compare real connection tests with TCPing, and verify that Windows and your browser are using the proxy.

At a glance

For Windows users who have imported a subscription and can see a server list, but aren't sure the proxy is working yet. Test a few candidates, set one as the active server, then check the system proxy and browser requests separately. If a test fails, determine whether the issue is the server, the client listener, or an app that isn't using the proxy.

Choose your first working server from the subscription

A successful subscription update only means the client retrieved the configuration; it doesn't mean every server in the list is usable. This guide uses v2rayN 7.x on Windows. Menu labels may vary slightly by version or interface. For your first tests, leave the current routing settings unchanged. If TUN is enabled, turn it off first so you can evaluate each proxy mode separately.

  1. Check the subscription group

    Switch to the group you just imported in the main window and confirm that it contains servers. If you added a subscription URL but the list is still empty, use the Subscription Group menu to update it. Wait for the update to finish before testing latency.

  2. Pick a few servers to test

    Start with two or three servers, ideally from different regions or routes. Server names are labels, not proof that a server works. Don't choose based only on old latency figures in the list.

  3. Run a real connection test

    Right-click a selected server and choose Test Server Real Connection Latency. When the results appear, retest any server with a result for two more rounds. Prefer a route that succeeds consistently over one with the lowest single reading.

  4. Set the active server

    Right-click your chosen server and select Set as Active Server. Then confirm that the active entry in the main window has changed. Selecting a row or running a latency test won't switch the server you use day to day.

  5. Enable the system proxy

    Right-click the v2rayN icon in the notification area, open System Proxy, and select Automatically Configure System Proxy. This sets the local proxy for apps that follow the Windows system proxy; it doesn't send all traffic through the active server.

TCPing vs. real connection latency

Real connection latency

Recommended

The client sends a request to a test address through the server being tested. A successful result means the server completed that request under the current test conditions; a failure may also mean the test address is unreachable. Results are in milliseconds and don't indicate download speed or guarantee that other sites will use the same route.

Best for: choosing a server for the first time or checking whether a route can still reach the test address.

TCPing

Attempts to open a TCP connection to the server's address and port; this is not an ICMP ping. A reachable port doesn't mean the server's protocol handshake, authentication, or subsequent access will succeed. For transports that don't use TCP connections, don't use this result alone to decide whether a server works.

Best for: checking whether the address and port of a TCP-based server are reachable.

Example: Server A returns 132 ms, 148 ms, and 141 ms across three real connection tests. Server B returns 91 ms on the first test, then times out twice. Choose A for your first connection. Keep the test address and local network the same when comparing results; don't switch Wi-Fi networks mid-test. Don't treat a timeout or missing result as 0 ms when ranking servers.

Check the local and remote server ports

The system proxy uses a listening address on your computer, not the server domain in your subscription. In v2rayN, open Settings → Parameter Settings and check the local listener options against the port shown in the main window. The ports below illustrate the different roles of each endpoint. If you've changed local settings or use a different version, follow the values shown in your interface.

10808
Example local mixed-proxy port
443
Example remote server port from a subscription

App connection

Listening address
127.0.0.1
Listening port
Check the actual local port, such as 10808
Where to check
v2rayN local listener settings and the Windows proxy page

Apps send requests to a local listening port first. The core then handles them according to the routing rules.

Remote endpoint

Server address
Domain or IP address listed in the subscription
Server port
Use the value listed for the server, such as 443
Protocol settings
Keep the protocol, transport, and security settings from the subscription

Don't change a server just to make its port match the local one; the local listener and remote connection are separate steps.

Verify the proxy in Windows and your browser

The tray menu only shows that the client tried to configure the proxy. A page loading only shows that the request received a response. To confirm that your browser request actually exits through the server, check where the system proxy points, then compare the same address with the proxy on and off.

  1. Check Windows settings. Open Windows Settings → Network & internet → Proxy, then check the Use a proxy server status under Manual proxy setup. After v2rayN automatically configures the system proxy, make sure its address and port point to the current local HTTP or mixed listener. If your computer is managed by an organization, confirm that you're allowed to change these settings first.
  2. Compare the results. On a computer where you can temporarily disable the proxy and don't need to preserve another system proxy, select Clear System Proxy from the tray menu. In a browser that follows the system proxy, open a trusted HTTPS IP lookup page and note the current exit IP. Then select Automatically Configure System Proxy and visit the same address in a new private window. Before testing, check whether the browser has an extension that sets its own proxy.
  3. Compare the request and route. A change in exit IP is evidence that this request used a different exit; it doesn't mean every site uses the proxy. If the IP stays the same, first check whether the current route sends the lookup page direct. Then open the v2rayN logs and look for the entry matching the time and domain you just visited. If the log shows an outbound tag, confirm that it identifies a proxy outbound rather than a direct connection. A local inbound entry alone doesn't reveal the final exit.

After the comparison, leave the system proxy in the state you need. If your computer normally uses a work or campus proxy, don't use Clear System Proxy as a substitute for restoring its settings. Keep the existing configuration and use the client logs to check the request path instead.

Troubleshoot a failed first connection

TCPing returns a result, but the real connection test times out?

Retest with another server from the subscription using the same test address. If only one server fails, keep the existing parameters, check for a subscription update, and look in the logs for handshake or authentication errors. If several servers fail at once, check whether the test address is available before blaming the servers.

The real connection test succeeds, but your browser still can't open sites?

First, confirm that the tested server is the active server, then check the proxy address and port in Windows. If the logs say the port is already in use, close the other proxy app using it or choose an unused port in Parameter Settings. Restart the core or client if prompted, then apply the system proxy again.

Your browser works, but command-line tools can't connect?

Some command-line tools don't use the Windows system proxy. Check that the tool supports proxy options, then test with an explicit proxy. For example, if the local mixed port is 10808, run curl.exe --proxy http://127.0.0.1:10808 -I https://example.com/ in a terminal. A response from the destination confirms that this explicit proxy request succeeded; check the routing rules to determine whether it exited directly or through the proxy.

How can you tell if routing rules are the problem, not the server?

Keep the same active server and visit one address that works and one that fails. Check the logs for each request and compare their outbound routes. If the failed request went direct, review the routing match for that domain. If both went through the proxy, investigate the error for the failed request. Don't change the server, port, and routing rules all at once.

View client downloads