This article explains how to configure a “WS TLS” node and why it might not connect after import. It covers the fields users need to check in clients such as v2rayNG and v2rayN, and explains what IP addresses, DNS, and the browser environment each affect. WS is a WebSocket transport, while TLS provides encryption; neither is a standalone proxy protocol, so they are usually used with VLESS or VMess.
1. Prepare your client and node details
Install a recent stable version from the client’s official project or a trusted app store. Have the share link, subscription URL, or full configuration details provided by your service provider ready. If you use a free node from this site, check its instructions as well. Test the node to confirm it is available, and don’t post subscription URLs in public group chats.
Before configuring the node manually, confirm the protocol, server address, port, UUID, transport, WS path, Host, and TLS server name. Don’t guess the WS path, Host, or SNI; ask the node provider to confirm any missing details.
2. Import first, then check WS and TLS
- Copy the full share link and select “Import from Clipboard” in the client. If you have a subscription URL, open subscription management, add the URL, and update it. Menu names may vary between clients.
- Open the node’s edit screen and confirm that the protocol is the VLESS or VMess specified by the provider, and that the server, port, and UUID match the original details. The port is not necessarily 443, so don’t change it on your own.
- Set the transport to WebSocket, usually shown as ws. Enter the path provided by the provider, keeping the leading slash and any trailing parameters, then enter the WS Host.
- Enable TLS and enter the specified domain as the SNI or “Server Name.” It may differ from the server address and WS Host, so check each separately. Leave options such as ALPN at their defaults unless instructed otherwise.
- Save and select the node, then enable the system proxy or the client’s VPN mode. Grant the system VPN permission when prompted, then use a browser to visit the target website and test the connection.
Don’t fix connection problems by enabling “Allow Insecure” or skipping certificate verification. If you see a certificate error, first check the system time, SNI, and whether the node details are out of date.
3. How do IP, DNS, and the browser affect the connection?
The server address determines which entry point the client connects to. SNI specifies the server name during the TLS handshake, while WS Host is part of the subsequent HTTP request. Even if you enter an IP address for the entry point, you may still need the correct domain for SNI and Host. Don’t replace all of them with the same IP address.
DNS resolves domain names to IP addresses. If the logs indicate a domain resolution failure, first make sure your local network is working, then check the client’s DNS settings and confirm that the subscription domain is valid. Whether a website’s domain is resolved locally or on the proxy side depends on the client mode and DNS policy; enabling the proxy does not necessarily mean that all DNS resolution happens remotely.
Browser extensions, standalone proxy settings, or Secure DNS may change how requests are routed. To troubleshoot, temporarily disable other proxy extensions and compare the results in a private browsing window. The browser’s language, time zone, and fingerprint are generally not the cause of a failed WS TLS handshake.
4. Troubleshoot connection problems in order
First, confirm that your regular network connection works and that the system time is correct. Then update the subscription and check each field. If the logs show a TLS error, check the certificate and SNI. If they show a WebSocket handshake error, focus on the path and Host. If the connection times out, check the entry point, port, and network reachability. A latency test returning a result doesn’t guarantee that websites will open. Also confirm that the system proxy is enabled and the routing rules are correct. Change one setting at a time and keep a copy of the original configuration to avoid making the problem harder to pinpoint.