This guide is for iPhone and iPad users who have imported their own server but haven't connected yet. First, check the server marked with a dot on Home. Then start the system VPN tunnel, and check both Connectivity Test results and whether a webpage loads. The switch being on, a test returning a result, and a webpage loading are three separate observations; none confirms the others.
First connection: three checks on Home
-
Select a server
Go to Home → SERVER, tap the server you want to use, and make sure the dot appears beside it. The dot marks the currently selected server; it doesn't mean the server is online or that the system VPN tunnel is running. If several entries have similar names, check your own records and select the right one—don't rely on the name or its position in the list alone.
-
Turn on the connection
Return to the top of Home. When it shows Not Connected, turn on the connection switch. If iOS or iPadOS asks to add a VPN configuration, verify that the request is from Shadowrocket before allowing it, then follow the system prompts. Check whether the switch stays on when you return to Home. If it switches off again right away, troubleshoot tunnel startup first; Connectivity Test can't confirm whether VPN authorization succeeded.
-
Run a connection test
Tap Connectivity Test on Home and wait for the test to finish, then check the result for the server you selected. A latency result for another entry in the list doesn't mean the selected server passed. After noting the result, reload a webpage that normally works in your browser as a separate check. An in-app test result doesn't prove that webpages are accessible.
For initial troubleshooting, keep the server, network, and test settings unchanged. If you change servers, switch between Wi-Fi and cellular, and adjust Global Routing all at once, even a successful second test won't tell you which change made the difference.
Global Routing: temporary tests and everyday settings
To check whether the selected server can handle a real webpage request, first note the current Global Routing setting on Home. For a temporary test, choose Proxy to rule out Config rules as a variable, then restore the original setting afterward. If the connection switch won't stay on, changing the routing mode won't fix a system VPN configuration issue.
Proxy
RecommendedRequests routed through Shadowrocket use the proxy policy instead of being split by Config rules. With the same server and network, try opening the same webpage to see whether the request succeeds through the proxy.
Best for: testing the proxy path for the first time or distinguishing server issues from rule issues
Config
Requests are matched against the current configuration file. A target may use PROXY, DIRECT, or REJECT, so a webpage loading under Config doesn't necessarily mean the request used the selected server. If it loads under Proxy but not Config, check which rule and policy actually match the target domain.
Best for: restoring everyday rule-based routing and retesting the same target with the current configuration file
Direct
Requests routed through Shadowrocket use a direct connection. Even if the switch on Home stays on, a webpage loading under Direct doesn't show whether the selected proxy server is working.
Best for: comparing how the same webpage loads over a direct connection
Connectivity Test: understanding results and keeping notes
A latency value describes only that test run. It depends on the current network, test method, and target, and doesn't translate directly to webpage load time or download speed. A timeout means the test didn't finish within the waiting period; by itself, it doesn't prove the server is unavailable, the credentials are wrong, or the target is down. Note the exact message. Don't lump a timeout, a connection refusal, and an error shown on a webpage together as simply “can't connect.”
Record the Home status
- Selected server
- The server marked with a dot in SERVER
- Connection switch
- Stays on, switches off immediately, or still shows Not Connected
- Routing mode
- Note the current Global Routing setting
- Test result
- Record the selected server's latency and unit, or copy the error message exactly
The switch reflects the local tunnel state; the test result reflects the current probe. Record them separately.
Check server settings
- Type
- Match the settings provided for your server, such as Trojan or Shadowsocks
- Address
- Check the imported hostname or IP; example.com is for illustration only
- Port
- Use the port specified for the service; 443 is an example, not a general fix
- Credentials
- Check them against the relevant protocol. Don't include full values in notes or screenshots.
Compare with the original settings before making changes. Don't switch protocols or ports at random just to clear a timeout.
Wi-Fi and cellular: retest by changing only the network
If the same error keeps occurring on your current network, try another connection if your device and data plan allow it. Keep the server, Global Routing setting, and webpage target the same for both tests. If the issue occurs on only one network, the result varies with the connection environment; that alone doesn't identify DNS, network restrictions, or a temporary network issue as the cause.
Two tests with the same server
Wi-Fi
- If the network requires sign-in, complete it as prompted by the system before testing.
- Return to Home, check the selected server and routing mode, run Connectivity Test, then reload the same webpage.
Cellular
- Turn off Wi-Fi and make sure the device is connected to a working cellular data network.
- Check the connection switch again, then repeat the test and reload the webpage with the same settings. Record the results separately.
If the connection state changes automatically when you switch networks, check Settings → On Demand for network-based triggers before running a manual comparison.
Common errors: what to check first
Does the switch return to Not Connected as soon as you turn it on?
First, make sure you completed the system authorization prompt when adding the VPN configuration. Then check whether another VPN is running on the device. If the device is managed by an organization, check whether system restrictions prevent adding VPN configurations. Treat this as a tunnel startup issue first; there's no need to change the server port yet.
Does Connectivity Test keep timing out?
First, make sure the result is for the server marked with a dot, then check that its address and port match your settings. Leave everything else unchanged and try once more on the same network. If it still times out, compare results on another network using the two-test steps above. If only the test times out but the webpage reloads under Proxy, check the test target or probe method instead of deleting the server configuration.
Does “Connection refused” mean the credentials are wrong?
Not necessarily. If the details specifically say the TCP connection was refused, the connection usually failed before credentials could be checked. First verify the host and port, then confirm that a service is listening on that port. If the message explicitly says authentication failed, check the credentials for the relevant protocol. A “connection refused” result in a test also doesn't mean Config matched a REJECT rule.
Why won't a webpage load even though I see a latency value?
The test target may differ from the webpage that failed. On the same network and server, reload the failed webpage under Proxy, then switch back to Config and try the same URL. If it fails only under Config, check the rule matching that domain, its policy, and the FINAL fallback. If it fails under both modes, note the exact webpage error and investigate whether the issue is domain resolution, establishing a connection, or the webpage itself.