On this page
Three blocks that look alike
From the inside, every block looks like “the VPN won't connect”, but the fixes differ. First find out what is blocked:
- The IP address — nothing gets to the server from your network: no ping, no port, no SSH. From other networks it answers normally.
- A port — the address answers ping or other ports, but the VPN's port doesn't open.
- The protocol — the port opens, but the handshake breaks off, the connection is reset after a few seconds, or it works for a minute and freezes. That's a network recognizing the protocol, not an address block.
Signs that it's the address
- It works from another network — mobile data, a friend's connection or an online port checker reach the server; yours doesn't.
- Ping and the port fail together — while from another network both answer.
- Every protocol on the server died at once — VLESS, WireGuard, Shadowsocks, whatever runs there.
- SSH fails too — while the hosting's web console shows the server running.
Check from your network
Take the address and port from your link or config, turn the VPN off and run these. 203.0.113.5 stands for your server's address.
Test-NetConnection 203.0.113.5 -Port 443
Test-NetConnection 203.0.113.5 -Port 22TcpTestSucceeded : True — the port opens. False for both the VPN's port and SSH (22), with PingSucceeded : False, while they open from another network — the address is blocked on yours.
nc -vz -w 5 203.0.113.5 443
nc -vz -w 5 203.0.113.5 22succeeded — the port opens. Connection refused — the address answers and nothing listens on that port, so it isn't an address block. No answer within 5 seconds — the packets don't get there.
ping -n 4 203.0.113.5
tracert -d 203.0.113.5Compare with another network: if there the trace reaches the server and from yours it dies a few hops in, the block is on the way.
ping -c 4 203.0.113.5
traceroute -n 203.0.113.5Many servers don't answer traceroute, so * * * at the very end alone means nothing. On Linux without traceroute, tracepath -n does the same.
ssh -o ConnectTimeout=10 root@203.0.113.5Connection timed out — nothing gets there. Connection refused — the address is reachable, SSH is off or on another port. A password or key prompt — the address isn't blocked.
Check from outside
- 1
Another network
Turn Wi-Fi off on your phone and connect to the same server over mobile data, or run the same
Test-NetConnectionorncline from a friend's or your work's network. - 2
An online port checker
These sites test a port from their own servers. If they see it open and you don't, your network is the difference. Most check only TCP: for a UDP port (WireGuard, Hysteria2), compare ping and the SSH port instead.
- 3
On the server itself
In the hosting's web console run
sudo tcpdump -ni any host YOUR_IP, with your address (an IP check site shows it with the VPN off) in place of YOUR_IP, and try to connect. If nothing from you arrives, the packets are dropped on the way.
What you see, why, and what to do
Nothing answers from your network; everything answers from mobile data
CauseThe server's IP address is blocked on your network
What to doA new IP from the hosting, or a new server
Ping answers and SSH works, the VPN's port doesn't
CauseThat port is blocked, or the VPN service is down
What to doCheck the service on the server, then move it to another port, such as 443
The port opens, but the connection breaks in the handshake or after a few seconds
CauseThe network recognizes the protocol; the address is fine
What to doA disguised protocol: VLESS Reality, or AmneziaWG instead of WireGuard
Nothing answers from anywhere, the port checker included
CauseThe server is off, or its firewall closes everything
What to doCheck the hosting panel and the server's firewall
Ping fails from everywhere, but the ports open
CauseThe server or its hosting ignores ping
What to doNot a block: trust the port check
The trace from your network dies inside your provider's network
CauseThe block sits on the way, close to you
What to doA new address
A new address works for a while, then gets blocked too
CauseThe network spots the protocol and then blocks the address
What to doA disguised protocol on the new address, or a server behind a CDN
A freshly rented server doesn't answer from your network from day one
CauseThe address was blocked before it came to you
What to doAsk the hosting to swap it, or create the server again
What to do
- 1
Get a new address
Many hosts sell an extra IP or let you swap the main one. Elsewhere, delete the server and create a new one: it usually gets a different address, in minutes.
- 2
Update every device
A subscription picks up the new address by itself once the service updates it; a single link or a
.conffile has to be edited or issued again. - 3
Move the port only if the port is blocked
If ping and SSH work but the VPN's port doesn't, another port helps, and 443 looks like an ordinary website. If the whole address is blocked, no port opens.
- 4
Pick a protocol that disguises better
A new address lasts longer if nothing on it looks like a VPN. VLESS Reality looks like a visit to a real website; AmneziaWG changes the packets that give plain WireGuard away. Neither hides the address, so on one already blocked they don't help.
- 5
Put a CDN in front, where you can
VLESS, VMess or Trojan over WebSocket, gRPC or XHTTP with TLS can go through a CDN: the client connects to the CDN's addresses, shared by many ordinary sites, and the CDN passes the traffic on to your server. It needs a domain, and Reality can't work this way.
Why server addresses get blocked
Networks block by lists. An address gets on one when a filter notices a VPN protocol on it, when a config with it spreads widely, or when the range it sits in belongs to a hosting the network distrusts. Some blocks lift after a while; some stay. So a fresh server can be blocked from day one, and a server shared by many people gets noticed sooner than one for you alone. A rented address is easy to replace, and that is the real defense: keep the server easy to set up again.