Shadowrocket VMess vs. VLESS: Key Differences and Configuration Fields

Compare VMess and VLESS encryption, UUIDs, transport, and TLS settings. Learn how to match each Add Server field to your provider’s configuration.

At a glance

If you have node settings but aren’t sure how to enter them, first confirm whether they’re for VMess or VLESS, then check the UUID, transport, and TLS settings separately. This guide uses Home and Add Server on iPhone / iPad to explain which fields must match the server and what to check first when a connection fails. Get nodes and subscriptions from your service provider.

VMess vs. VLESS: Authentication, Encryption, and Transport

VMess and VLESS are different proxy protocols, not two connection modes for the same node. Even if two configurations use the same address, port, and UUID, you can’t switch between them just by changing the protocol type in Add Server: the server must parse the request and authenticate the user using the same protocol. WebSocket is a transport method, while TLS protects the connection between the client and proxy server. Neither replaces the protocol type.

VMess
Uses a UUID to identify the user, with built-in authentication and data encryption mechanisms. The data encryption option in the configuration and outer TLS are separate settings: entering a protocol-level encryption option does not enable TLS. If your provider specifies alterId separately, use that exact value; don’t replace the provider’s 0 with a nonzero value from an outdated example.
VLESS
Also uses a UUID to identify the user. A common VLESS configuration uses encryption=none, meaning this protocol-level encryption option is not used; it does not mean outer TLS is disabled. For example, if the settings include both encryption=none and security=tls, keep TLS enabled. Don’t disable TLS just because you see none, and don’t apply VMess data encryption settings to VLESS.
128 bits
UUID length; the common hyphenated format is 36 characters
443
HTTPS default port, not a fixed port for VMess or VLESS
2 names
With WebSocket over TLS, TLS SNI and the WebSocket Host belong to different layers

Entry order: group by connection layer

Group your provider’s settings into four categories: protocol and credentials, address and port, transport, and TLS. If you see 443, check separately whether TLS is enabled; don’t infer the setting from the port.

Manually Add a Server: Match Each Field to Your Provider’s Settings

On Home in the iPhone / iPad app, tap the + in the upper-right corner to open Add Server, then choose VMess or VLESS under Type. Confirm the type first, then fill in the corresponding form; after changing Type, don’t reuse values from the previous form. Use the table below as a checklist—not every field needs a value. Don’t copy values from another node to fill in optional fields your provider hasn’t specified.

Field to checkWhat to enterCommon mistake
TypeUse the VMess or VLESS type specified by your provider.Assuming the two types are interchangeable because both use a UUID.
Address and portEnter the actual connection domain or IP address; enter the port specified by your provider separately.Adding https:// or the WebSocket path to the address, or changing the specified port to 443.
UUIDCopy the complete UUID for that node, keep the hyphens, and check for leading or trailing spaces or line breaks.Entering the token from a subscription link or reusing a UUID from another node.
Transport and WebSocket settingsUse the transport specified by your provider. For WebSocket, match the Host and Path exactly; the leading slash in /edge/ws, for example, is part of the path.Changing the transport type but missing the Path, or pasting a full URL into Path.
TLS and SNIEnable TLS as specified in the connection settings. If an SNI is provided, enter it as the TLS server name and leave certificate verification enabled.Using SNI as the WebSocket Host, or disabling certificate verification because of a certificate error.

A connection may go to an IP address while using the provider’s specified domain as the TLS SNI; the WebSocket Host is used in the HTTP request for the WebSocket handshake. These three values may be the same or different. If the settings list only one domain, don’t automatically enter it in all three fields. First confirm whether it’s the connection address, TLS server name, or WebSocket Host. When importing a subscription, keep the imported values unless your provider explicitly asks you to change them.

Choosing a Configuration: Start with a Complete, Verified Setup

If your VMess configuration already works, there’s no need to change protocols. If your provider supplies both VMess and VLESS settings, import each separately and keep the original configuration. These recommendations are about reducing the effort needed to verify settings; they don’t mean one protocol is faster on every network.

Keep the verified protocol configuration

Recommended

Keep the protocol and related settings for your working node. After switching devices or reimporting, first check whether the original configuration still connects as-is, then try another type of node.

Best for: Reusing a working VMess or VLESS node reliably

Test each protocol configuration separately

Save the two configurations from your provider separately. On the same device and network, switch between them and visit the same destination that you know uses the proxy. After each switch, verify the response with a new request instead of relying only on the latency figure.

Best for: Comparing availability on your current network when your provider supplies complete settings for both protocols

If the two nodes use different routes, server loads, or transport methods, the comparison only shows which configuration works better right now; it can’t isolate VMess or VLESS as the cause. If their latency is similar but only one reliably opens the destination, prioritize whether the page actually loads—not which number is lower.

Troubleshooting Connections: Timeouts, Handshake Failures, and Pages That Won’t Load

  1. Timeout: First make sure the device is online and that the current Wi-Fi network doesn’t require you to complete a sign-in. Then check that the intended node is selected on Home. Verify the address and port; don’t keep changing the UUID, TLS, and transport settings one after another. A timeout alone doesn’t identify which field is wrong.
  2. TLS or certificate error: Check the TLS setting and SNI, and make sure the device’s date and time are correct. With WebSocket over TLS, the TLS handshake happens before the WebSocket handshake. Resolve certificate or server name issues first, then check Host and Path.
  3. WebSocket handshake failed: If diagnostics show an HTTP 404 during the WebSocket handshake, first check that Host and Path point to the entry specified by your provider. This status code doesn’t indicate a wrong UUID. Also, don’t mistake a 404 returned by the destination website for a node handshake error.
  4. Authentication failed: First check that Type and UUID come from the same configuration. For VMess, also check that the device’s system time is accurate and verify protocol settings such as alterId against your provider’s values. Change one field at a time and retry so you can tell which change affected the result.

Can I switch VMess to VLESS using the same UUID?

Not by changing Type alone. If your provider also offers a VLESS configuration, create a new entry from Home using Add Server, then enter the address, port, UUID, transport, and TLS settings from that configuration. Keep the original VMess entry so you can switch back.

VLESS has encryption=none. Should I disable TLS?

Don’t use encryption=none to decide whether to use TLS. Check the TLS settings from your provider separately. If they specify security=tls, leave TLS enabled and verify the SNI.

Why won’t a webpage load even though Connectivity Test shows latency?

A test result doesn’t guarantee access to a specific webpage. First check Global Routing on Home: with Direct selected, requests connect directly; with Config selected, check the rule and policy that match the destination domain. For troubleshooting, briefly select Proxy and test the same URL, then restore your original setting. If it still won’t load in either mode, check domain resolution and the node connection separately.

What information should I send my provider for help?

Note the time of failure, network type, protocol, transport method, and the stage where the error occurred. Before sharing screenshots or logs, hide your UUID and complete subscription link. Don’t post an exported node configuration in a public forum.

Download Shadowrocket