This is one of the most frequently asked questions in the Help Center. This article breaks down "network unreachable" issues into a troubleshooting process you can follow step by step. Completing 90% of the checks in order usually lets you locate the problem yourself; if the issue remains unresolved, the final section provides the information template required when submitting a ticket, which can significantly shorten the handling time.
Network problems usually have only four types of causes. First determine which type applies:
| Symptom | Most likely cause | Go to |
|---|---|---|
| SSH cannot connect at all, and ping also fails | Service/system failure or IP blocked | Sections 2 and 6 |
| ping works, but a particular port cannot connect | System firewall or service not listening | Section 3 |
| Connection works, but it is slow / intermittent / lossy | Cross-border line quality or congestion | Section 4 |
| Only one website/service is inaccessible | Remote-end restriction, not a problem with your line | Section 5 |
Important premise: Nube provides Unmanaged VPS and Bare Metal services. The platform has no Security Group and no platform-side firewall that separately blocks your ports. We are responsible for the machine powering on normally, basic network reachability, and normal IP allocation. Service listeners, the system firewall, application configuration, and port binding inside the server system are outside the scope of management and technical support. Therefore, requests such as "please open a port for me" have no corresponding operation on the platform side.
Check the following in the Console:
Run the following commands in order inside the server:
# 1. Check whether the service is listening on the target port
ss -lntup | grep YOUR_PORT
# 2. Check whether the listening address is correct
# If it listens only on 127.0.0.1, it cannot be accessed externally; it must listen on 0.0.0.0 or the corresponding interface address
# Local Address in the output should be 0.0.0.0:PORT or :::PORT
# 3. Check whether any firewall rules remain inside the system
iptables -S
nft list ruleset
ufw status
Then test from outside:
nc -zv YOUR_PUBLIC_IP YOUR_PORT
telnet YOUR_PUBLIC_IP YOUR_PORT
Key comparison test: Test SSH port 22 at the same time.
For UDP services, separately confirm that the corresponding UDP service is actually listening successfully.
ss -lntup | grep PORTVM:Region:ID, for example VM:HKG1:)Support staff rely almost entirely on bidirectional MTR when assessing cross-border packet loss. A one-way result alone usually cannot locate the problem.
# From your local machine → server
mtr -rwzbc 100 YOUR_SERVER_IP
# From the server → your local public IP
mtr -rwzbc 100 YOUR_LOCAL_PUBLIC_IP
Common mistake: Providing only an internal IP (such as 192.168.x.x, 10.x.x.x, or 172.17.x.x) as the source address makes the test invalid. First visit ip.sb or whatismyip.com to confirm your public egress IP.
If packet loss is concentrated inside the networks of China's three major carriers or on their international handoff segments (for example, 221.183.x.x, 202.97.x.x, or handoff networks such as TATA/SoftBank), those segments are managed by the carriers themselves. The service provider cannot adjust them on your behalf, and they are outside the service guarantee.
This is one of the easiest types of problem to misjudge. The reasons are:
① Multi-thread verification (fastest)
iperf3 -c TARGET_IP -P 8 -t 60
If the multi-thread result is clearly higher than the single-thread result (for example, 20–40 Mbps combined across 8 threads), you can confirm that this is a path limitation for a single TCP flow rather than server-side throttling.
② UDP traffic test (recommended; best reflects the link itself)
UDP is not affected by congestion control and can directly reflect actual bandwidth and packet loss. On the server:
iperf3 -u -s
Increase the load gradually from a low rate on the client:
iperf3 -u -c TARGET_IP -b 20M -t 60 iperf3 -u -c TARGET_IP -b 50M -t 60 iperf3 -u -c TARGET_IP -b 100M -t 60
How to interpret the results:
| UDP test result | Conclusion |
|---|---|
| Packet loss remains high even at a low rate | The path (including domestic carrier segments) has real congestion; provide MTR at the same time |
| Low rate is normal, and loss starts only at a high rate | Normal queuing; path capacity is around this level |
| Low packet loss throughout, but TCP speed/retransmissions remain poor | The problem is most likely with the sender's TCP stack configuration |
③ If TCP must be used to test upload speed: enable BBR and increase the buffers
Run the following on the sender (your Linux host):
sysctl net.core.default_qdisc=fq
sysctl net.ipv4.tcp_congestion_control=bbr
sysctl -w net.core.rmem_max=67108864
sysctl -w net.core.wmem_max=67108864
sysctl -w net.ipv4.tcp_rmem="4096 87380 67108864"
sysctl -w net.ipv4.tcp_wmem="4096 65536 67108864"
If you confirm that you need to run high concurrency or cross-border transfers for a long time, you can use the following configuration (write it to /etc/sysctl.conf, then run sysctl -p to apply it):
cat >> /etc/sysctl.conf kernel.panic = 3
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
fs.file-max = 1024000
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
net.ipv4.tcp_mem = 65536 131072 262144
net.ipv4.udp_mem = 65536 131072 262144
net.core.rmem_max = 134217728
net.core.wmem_max = 134217728
net.core.rmem_default = 33554432
net.core.wmem_default = 33554432
net.ipv4.tcp_rmem = 8192 262144 67108864
net.ipv4.tcp_wmem = 8192 262144 67108864
net.ipv4.udp_rmem_min = 16384
net.ipv4.udp_wmem_min = 16384
net.ipv4.tcp_mtu_probing = 2
net.core.netdev_max_backlog = 65536
net.core.somaxconn = 65536
net.core.optmem_max = 25165824
net.ipv4.tcp_sack = 1
net.ipv4.tcp_dsack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_tw_buckets = 262144
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 500
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_keepalive_intvl = 15
EOF
sysctl -p
Some problems occur because the target website/service is rejecting you, and have nothing to do with your VPS or data center:
| Symptom | Actual cause | How to handle it |
|---|---|---|
| Only one site's 443/80 times out while other sites work | The remote end has TLS fingerprint filtering or regional policies | Use an HTTP installation source, change the client, or access it through a proxy |
| Installing a panel with curl/wget fails, but it opens in a browser | The remote end's security policy actively rejects non-browser tools | Use an HTTP source or change the installation method |
| A CDN / cloud provider's origin domain cannot connect | Remote-end policy | Contact the remote end or use a proxy |
Example: Panel installation hangs for 30 minutes
Troubleshooting found that the network was normal and the origin could be accessed successfully over HTTP; only HTTPS returned Connection reset by peer. The conclusion was that the remote origin applies TLS fingerprint filtering and actively rejects HTTPS requests from non-browser tools such as curl/wget. The solution is to use HTTP for installation:
wget http://repo.fastpanel.direct/install_fastpanel.sh && bash install_fastpanel.sh -m mariadb10.11
Example: Port 53 of Google DNS 1.1.1.1 is unreachable
Some nodes have different policies for port 53 of 1.1.1.1, so it may be unreachable. This is an upstream/remote-end policy, not a failure of your machine. You can switch to another available DNS or configure a backup DNS inside the system.
Replace YOUR_IP and PORT with the actual values:
ping YOUR_IP -t tracert YOUR_IP
curl -I -m 10 http://YOUR_IP:PORT
Decision logic:
ip.rss.ink/gfw or www.toolsdaquan.com/ipcheck to check the block status and provide a screenshot.Port Blocking and IP Blocks.When the data center is under a large-scale attack, it may temporarily enable global filtering rules. For example, there have been attacks targeting UDP port 443 across all IPs; the emergency measure was to drop all inbound UDP 443 packets and remove the rule after the attack subsided.
If you find that "the same port suddenly stops working on every machine," this may be such a temporary policy. Contact customer support for confirmation.
The more complete the information, the faster the issue can be handled. Copy and fill in the following template:
【Symptom】Connection timed out / Connection refused / Connects but disconnects / Returns an error response
【Start time】2026-XX-XX XX
Network Line TypesPort Blocking and IP BlocksSelf-Service Troubleshooting for Connection Failures and DowntimeCommon Console Error Reference