{"id":2779,"date":"2026-04-06T15:26:35","date_gmt":"2026-04-06T15:26:35","guid":{"rendered":"https:\/\/www.serverspan.com\/blog\/"},"modified":"2026-04-06T16:28:34","modified_gmt":"2026-04-06T16:28:34","slug":"network-troubleshooting-commands-on-linux-vps-fix-issues-fast","status":"publish","type":"post","link":"https:\/\/www.serverspan.com\/en\/blog\/network-troubleshooting-commands-on-linux-vps-fix-issues-fast\/","title":{"rendered":"Network Troubleshooting Commands on Linux VPS: Fix Issues Fast"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If a Linux VPS \u201chas a network problem,\u201d the fastest way to solve it is to stop guessing and check the layers in the correct order: interface, IP address, route, neighbors, DNS, sockets, path, firewall, packet capture, and only after that the application layer. That is the difference between fixing something in five minutes and wasting two hours on angry restarts of services that were healthy all along. This article is the full triage sheet for the kinds of problems that show up in the real world: timeouts, packet loss, dead ports, broken DNS, half-working IPv6, TLS that appears stuck, and servers that \u201crun\u201d but do not answer the way they should.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And yes, this article sells VPS plans. Correctly. Because this exact kind of serious troubleshooting only becomes possible and efficient when you actually control the server: root SSH, firewall, routes, packet capture, IPv4, IPv6, proxying, tunnels, and ports. If you have moved past the shared-hosting phase and reached the point where you read guides like this, you have already moved past the limit of environments that hide the infrastructure from you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The correct troubleshooting order<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Is the interface up?<\/li>\n\n\n\n<li>Does the VPS have the correct IP address?<\/li>\n\n\n\n<li>Is the default route correct?<\/li>\n\n\n\n<li>Can it reach the gateway and its network neighbors?<\/li>\n\n\n\n<li>Is DNS resolving correctly?<\/li>\n\n\n\n<li>Is the process that should answer actually listening on the right port?<\/li>\n\n\n\n<li>Does the path to the destination look normal?<\/li>\n\n\n\n<li>Is the firewall allowing exactly what you think it allows?<\/li>\n\n\n\n<li>Does packet capture confirm that traffic is actually arriving and leaving?<\/li>\n\n\n\n<li>Is the application responding, or is the problem above TCP?<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This order matters. Too many administrators jump straight to the application and completely ignore the network layer underneath it. Then they declare the server \u201cslow\u201d or \u201cbroken\u201d when the real cause is a bad route, bad DNS, wrong MTU, or a port that never had a listener in the first place.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The 60-second triage block<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you have one minute before tickets and calls start, run this block first:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostname -f\nip -br a\nip -br link\nip route\nip route get 1.1.1.1\nss -tulpen\nresolvectl status || cat \/etc\/resolv.conf\nping -c 3 1.1.1.1\nping -c 3 google.com\ncurl -4 -I --connect-timeout 5 http:\/\/example.com\njournalctl -u systemd-networkd -u NetworkManager -u systemd-resolved -n 100 --no-pager 2&gt;\/dev\/null<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This block tells you very quickly whether the VPS has addresses, whether interfaces are up, whether a default route exists, whether anything is listening on ports, whether raw IP connectivity works, whether DNS resolves, and whether HTTP answers at all. It forces you to separate \u201cthe network is dead\u201d from \u201cthe application is dead\u201d almost immediately.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. The interface, IP address, and link state<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On modern Linux, the base command for interfaces and addresses is <code>ip<\/code>, not the old reflex of <code>ifconfig<\/code>. Start with the short view:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip -br a\nip -br link<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This immediately tells you which interfaces exist, which ones are active, and which addresses are assigned. When you need more context, go straight here:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip addr show dev eth0\nip -s link show dev eth0\nip -d link show dev eth0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you see rising RX or TX errors, if the interface is down, or if the device has a suspicious state, there is no point wasting time on DNS, TLS, or application logs. Fix the reality of the link first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For information about the NIC and its counters, especially on KVM environments where the virtual NIC still exposes useful data, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ethtool eth0\nethtool -S eth0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here you are looking for obvious problems: no link, bizarre negotiated speeds, or counters that suggest something is being lost or damaged below the application layer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Routing: if the server does not know where to send traffic, nothing else matters<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The classic routing checks are still the most useful:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip route\nip route show table main\nip rule\nip route get 8.8.8.8\nip route get 203.0.113.20\nip route get 2001:4860:4860::8888<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>ip route get<\/code> is one of the best triage tools on a Linux VPS. It tells you which source address, which interface, and which gateway Linux would actually use right now for a destination. That matters a lot when the server has multiple IPs, policy routing, extra addresses, VPN tunnels, Docker networks, or dual-stack IPv4 and IPv6.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you see traffic leaving with the wrong source address, the problem is already local. Do not blame the upstream provider before you read the output of this command.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Network neighbors and the real gateway<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the route looks correct but packets still die immediately, check the neighbor table:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip neigh\nip neigh show dev eth0\nping -c 3 &lt;gateway-ip&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the gateway does not resolve, if neighbors remain in states like <code>FAILED<\/code> or <code>INCOMPLETE<\/code>, or if ping to the gateway gets no reply, this is not an application problem. It is a connectivity problem between the server and the first real hop in the network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On local IPv4 segments, <code>arping<\/code> is very useful:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>arping -I eth0 &lt;gateway-ip&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It tells you quickly whether the local relationship exists at all at the right level, especially when the IP layer looks \u201calmost alive\u201d but something still does not connect.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Sockets and ports: is anything listening or not?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A ridiculous number of \u201cnetwork issues\u201d are really just \u201cnothing is listening on that port.\u201d This is where <code>ss<\/code> comes in:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ss -tulpen\nss -ltnp\nss -lunp\nss -pant\nss -s<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The practical interpretation is simple:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>ss -ltnp<\/code> for processes listening on TCP<\/li>\n\n\n\n<li><code>ss -lunp<\/code> for processes listening on UDP<\/li>\n\n\n\n<li><code>ss -pant<\/code> for active sessions, states, and PIDs<\/li>\n\n\n\n<li><code>ss -s<\/code> for a quick summary when you only want the overall state<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If the service should answer on 443 and nothing is listening on 443, you do not have a network mystery. You have a service, configuration, or bind-address problem.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the process listens only on <code>127.0.0.1:8080<\/code> and you expected it to be exposed publicly, that is again a configuration problem, not a \u201cmysterious\u201d network issue.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. DNS: separate bad resolution from lack of connectivity<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">People often say \u201cthe network is down\u201d when what they really mean is \u201cDNS is resolving badly.\u201d Those are not the same problem.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start with the state of the local resolver:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>resolvectl status\nresolvectl query example.com\nresolvectl query google.com\ncat \/etc\/resolv.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the system uses <code>systemd-resolved<\/code>, <code>resolvectl<\/code> shows you the real active resolver picture. Then query the DNS chain directly with <code>dig<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dig example.com A +short\ndig example.com AAAA +short\ndig example.com MX +short\ndig -x 203.0.113.20 +short\ndig @1.1.1.1 example.com A\ndig @8.8.8.8 example.com A\ndig +trace example.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here you answer concrete questions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Does the domain resolve at all?<\/li>\n\n\n\n<li>Does it resolve differently on different public resolvers?<\/li>\n\n\n\n<li>Is reverse DNS what you think it is?<\/li>\n\n\n\n<li>Is delegation broken further up the chain?<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><code>dig +trace<\/code> remains one of the best commands for cases where DNS is genuinely broken and you want to see the authoritative chain, not just what some cache handed back to you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">6. Raw connectivity and loss: ping is simple, but not stupid<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code>ping<\/code> is still the fastest basic proof of IP reachability and packet-loss behavior:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ping -c 5 1.1.1.1\nping -c 5 8.8.8.8\nping -c 5 google.com\nping -4 -c 5 google.com\nping -6 -c 5 google.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Run them in order. First a raw IP, then a hostname. That immediately separates transport failure from DNS failure. Then test IPv4 and IPv6 separately, because a lot of servers are \u201chalf broken\u201d only on one address family.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do not get hysterical about one dropped ICMP reply from a busy public host. But if the gateway drops, the resolver drops, and the application destination drops, you have enough evidence that the problem is real.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">7. Path and MTU: where the road breaks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When traffic leaves the VPS but behaves badly somewhere along the path, move to hop-by-hop tools:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>traceroute example.com\ntraceroute -T -p 443 example.com\ntracepath example.com\nmtr -rwzc 50 example.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">They play different roles:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>traceroute<\/code> for the classic path<\/li>\n\n\n\n<li><code>traceroute -T -p 443<\/code> when you care more about the path for TCP 443 than default UDP probes<\/li>\n\n\n\n<li><code>tracepath<\/code> when you suspect MTU and want a quick clue without special privileges<\/li>\n\n\n\n<li><code>mtr<\/code> when you want latency and loss measured over time, not one snapshot<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><code>mtr<\/code> is one of the best tools for \u201cit feels slow\u201d complaints because it shows whether loss is local, somewhere along the path, or only apparent on a router that deprioritizes ICMP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And MTU problems are absolutely real. If HTTPS stalls on large responses, if VPN traffic works for small packets but breaks on larger ones, or if some TLS negotiations seem frozen, MTU goes straight onto the short list of suspects.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">8. HTTP, HTTPS, and the application layer: test the service, not just the network<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once IP, route, and DNS look healthy, move up to the application edge. This is where <code>curl<\/code> becomes the difference between \u201cit feels slow\u201d and \u201cI know exactly where the time is going\u201d.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -I http:\/\/example.com\ncurl -I https:\/\/example.com\ncurl -vk https:\/\/example.com\ncurl -4 -vk https:\/\/example.com\ncurl -6 -vk https:\/\/example.com\ncurl --connect-timeout 5 -m 15 -w '\\ncode=%{http_code} ip=%{remote_ip} dns=%{time_namelookup} connect=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total}\\n' -o \/dev\/null -s https:\/\/example.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here you separate things very clearly:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Is DNS taking too long?<\/li>\n\n\n\n<li>Does TCP connect quickly, but TLS stall?<\/li>\n\n\n\n<li>Does TLS finish, but the application delay first byte?<\/li>\n\n\n\n<li>Does IPv6 fail while IPv4 works?<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The last command is worth memorizing. In a few seconds, it tells you whether the delay is in name resolution, connection, TLS handshake, or application response.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">9. Firewall: read the real rules, not the ones you think you configured<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On modern Linux, the starting point should be <code>nftables<\/code>, not vague assumptions like \u201cI opened the port\u201d.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nft list ruleset\nnft list tables\nnft -n list ruleset\nnft monitor trace<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Chain order, default policy, NAT, and priorities all matter. If you rely on memory instead of reading the actual rules, you are debugging blind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you use UFW, inspect that layer explicitly too:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ufw status verbose\nufw app list<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">But the rule stays the same: the final truth is in the ruleset, not in what you originally meant to configure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">10. Packet capture: the line between suspicion and proof<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When simple commands stop being enough, go to <code>tcpdump<\/code>. This is also where it becomes obvious why serious troubleshooting needs a real VPS.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tcpdump -ni eth0\ntcpdump -ni eth0 host 203.0.113.20\ntcpdump -ni eth0 port 443\ntcpdump -ni eth0 'tcp port 443 and host 203.0.113.20'\ntcpdump -ni any udp port 53\ntcpdump -ni eth0 -w \/root\/capture.pcap<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">These filters answer very concrete questions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Are SYN packets arriving at all?<\/li>\n\n\n\n<li>Do replies leave but never come back?<\/li>\n\n\n\n<li>Do DNS queries go out while replies disappear?<\/li>\n\n\n\n<li>Is the wrong interface being used?<\/li>\n\n\n\n<li>Is the firewall dropping traffic before the application sees it?<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If you do serious Linux troubleshooting and never end up at packet capture sometimes, you simply have not reached the incidents that really matter yet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">11. Network logs: do not ignore what the system is telling you<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Not everything shows up from interactive commands. Some problems are obvious in the journal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl -u systemd-networkd -n 100 --no-pager\njournalctl -u NetworkManager -n 100 --no-pager\njournalctl -u systemd-resolved -n 100 --no-pager\ndmesg | tail -n 100<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the interface is flapping, if DHCP is renegotiating badly, if the NIC driver is reporting errors, or if the local resolver is misbehaving, you often see the first clean clues here.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">12. Fast command sets for real incident patterns<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">SSH does not connect<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ss -ltnp | grep ':22'\nip route\nping -c 3 &lt;gateway-ip&gt;\nnft list ruleset\ntcpdump -ni eth0 port 22<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You check the listener, the route, the gateway, the firewall, and whether packets are actually arriving.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The website times out, but ping works<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ss -ltnp | egrep ':80|:443'\ncurl -vk https:\/\/example.com\ntcpdump -ni eth0 port 443\njournalctl -u nginx -u apache2 -u httpd -n 100 --no-pager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here the problem is almost always port, TLS, proxy, or application, not raw IP connectivity.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DNS resolves badly or inconsistently<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>resolvectl status\ndig example.com A +short\ndig @1.1.1.1 example.com A +short\ndig @8.8.8.8 example.com A +short\ndig +trace example.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here you separate local resolver problems, recursive cache differences, and authoritative delegation failures.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A remote service is slow only from the VPS<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>mtr -rwzc 50 remote.example.com\ncurl --connect-timeout 5 -m 20 -w '\\nconnect=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total}\\n' -o \/dev\/null -s https:\/\/remote.example.com\ntraceroute -T -p 443 remote.example.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This tells you whether the pain comes from path latency, TCP connection, TLS, or the remote application response.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">There are packet-loss complaints<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ping -c 20 1.1.1.1\nmtr -rwzc 100 1.1.1.1\nip -s link show dev eth0\nethtool -S eth0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Do not make serious conclusions from a single <code>ping -c 4<\/code>. Measure properly and read the interface counters.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">IPv6 feels \u201cweird\u201d<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ip -6 addr\nip -6 route\nping -6 -c 5 google.com\ncurl -6 -vk https:\/\/example.com\ndig example.com AAAA +short<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A huge number of \u201cintermittent\u201d incidents are really isolated IPv6 problems while IPv4 stays healthy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">13. When the problem is not the host network, but container networking<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If Docker runs on the VPS, a lot of \u201cnetwork problems\u201d are actually confusion between service bind addresses, the container network, and published ports. At minimum, check this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker ps\ndocker network ls\ndocker network inspect bridge\nss -tulpen\nip route\ntcpdump -ni any port 80 or port 443<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the application listens inside the container but the port is not published, if the bridge network is broken, or if the reverse proxy points to the wrong address, the symptoms will look like \u201cbroken networking\u201d even though the real issue is orchestration and bind logic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For that side of the story, read <a href=\"https:\/\/www.serverspan.com\/en\/blog\/managing-docker-and-containers-on-a-vps-best-practices-for-stability-and-performance\/\">Managing Docker and Containers on a VPS: Best Practices for Stability and Performance<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">14. When this guide clearly tells you that you need a real VPS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your real troubleshooting involves <code>tcpdump<\/code>, <code>nft list ruleset<\/code>, <code>ip rule<\/code>, live captures, IPv6 testing, reverse proxies, VPN tunnels, policy routing, or deep debugging of ports and sockets, you have already outgrown shared hosting. You are no longer in the zone where \u201ca simple control panel and a few clicks\u201d are enough. You need a virtual server that you control completely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is where this article connects directly to <a href=\"https:\/\/www.serverspan.com\/en\/virtual-servers\">ServerSpan Virtual Servers<\/a>. Not because everything must be turned into a sales pitch, but because this level of diagnosis only becomes serious and reproducible when you have root SSH, route visibility, firewall access, packet capture, IPv4, IPv6, and resources you control yourself.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">15. Which ServerSpan plan makes sense for this kind of work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you only want to learn and run simple labs, <a href=\"https:\/\/www.serverspan.com\/en\/virtual-servers\">vm.Entry<\/a> at \u20ac4.99 per month is enough as a starting point. If you want a useful Linux VPS for real websites, small reverse proxies, VPN tests, or ordinary workloads, <a href=\"https:\/\/www.serverspan.com\/en\/virtual-servers\">vm.Ready<\/a> at \u20ac9.99 per month is the healthy floor. If you manage production services and want room for packet capture, multiple services, monitoring, and troubleshooting without hitting limits immediately, <a href=\"https:\/\/www.serverspan.com\/en\/virtual-servers\">vm.Steady<\/a> at \u20ac17.99 per month is the plan that makes the most sense for most serious users. If you run several services, heavier traffic, or a more complex stack, <a href=\"https:\/\/www.serverspan.com\/en\/virtual-servers\">vm.Go<\/a> is the natural next step.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The reason we push KVM plans here is simple: network troubleshooting gets much clearer when you have full control over the system, the network, and the resources. You stop wondering whether the environment is hiding something from you. You can see what is actually happening.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">16. If you do not want to be the person running all these checks at 2:00 AM<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Then the correct handoff point is not another plugin, another restart, or another hope. It is <a href=\"https:\/\/www.serverspan.com\/en\/linux-administration\">ServerSpan Linux Administration<\/a>. This guide shows exactly how much control, patience, and discipline real troubleshooting requires. Some people want total control. Others just want the problem gone and fixed properly. Both are legitimate choices, but the second one means letting someone else own the incident through to the end.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">17. Related reading that fits this guide perfectly<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you want the container side of the same discipline, read <a href=\"https:\/\/www.serverspan.com\/en\/blog\/managing-docker-and-containers-on-a-vps-best-practices-for-stability-and-performance\/\">Managing Docker and Containers on a VPS: Best Practices for Stability and Performance<\/a>. If you want the operational mindset behind vague performance complaints, read <a href=\"https:\/\/www.serverspan.com\/en\/blog\/the-reality-of-my-server-is-slow-tickets\/\">The Reality of \u201cMy Server Is Slow\u201d Tickets<\/a>. And if you keep confusing memory pressure with network trouble, go straight to <a href=\"https:\/\/www.serverspan.com\/en\/blog\/linux-swap-vs-ram-the-definitive-guide-to-memory-management-on-vps\/\">Linux Swap vs RAM: The Definitive Guide to Memory Management on VPS<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The practical answer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The fastest way to fix networking on a Linux VPS is not one magic command. It is a disciplined order and the right tools: <code>ip<\/code> for addresses and routes, <code>ss<\/code> for sockets, <code>ping<\/code> for basic reachability, <code>dig<\/code> and <code>resolvectl<\/code> for DNS, <code>traceroute<\/code>, <code>tracepath<\/code>, and <code>mtr<\/code> for path analysis, <code>curl<\/code> for the application layer, <code>nft<\/code> for firewall truth, and <code>tcpdump<\/code> when you need proof. If you remember nothing else from this article, remember the troubleshooting order and stop jumping straight to the application every time the network looks suspicious.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are still trying to do this level of work on hosting that does not give you root, packet capture, firewall control, and route visibility, you are sabotaging your own troubleshooting. Get a real <a href=\"https:\/\/www.serverspan.com\/en\/virtual-servers\">KVM VPS<\/a> or hand the responsibility off through <a href=\"https:\/\/www.serverspan.com\/en\/linux-administration\">managed Linux administration<\/a>. This guide is proof that serious troubleshooting requires serious control.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If a Linux VPS \u201chas a network problem,\u201d the fastest way to solve it is to stop guessing and check the layers in the correct order: interface, IP address, route, neighbors, DNS, sockets, path, firewall, packet capture, and only after that the application layer. That is the difference between fixing something in five minutes and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2780,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,12],"tags":[15501,15488,15479,15483,15477,15476,15484,15485,15495,15494,15500,15486,15478,14427,15474,15487,15489,15475,15482,15498,15473,15481,15480,15496,15499,15497,15491,15490,15492,15493],"class_list":["post-2779","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-virtual-servers","tag-best-vps-for-network-testing","tag-curl-network-troubleshooting","tag-dig-dns-troubleshooting-linux","tag-ethtool-linux-nic-diagnostics","tag-fix-network-issues-fast-linux","tag-ip-command-linux-troubleshooting","tag-ip-neigh-arp-troubleshooting","tag-ip-route-get-linux","tag-kvm-vps-with-root-access","tag-linux-network-commands-cheat-sheet","tag-linux-routing-troubleshooting","tag-linux-vps-dns-issues","tag-linux-vps-network-troubleshooting","tag-managed-linux-administration","tag-network-troubleshooting-commands-linux-vps","tag-nftables-troubleshooting-linux","tag-open-port-check-linux-vps","tag-ping-traceroute-mtr-cheat-sheet","tag-resolvectl-dns-debug","tag-server-network-debugging-guide","tag-ss-command-linux-ports","tag-tcpdump-vps-packet-capture","tag-tracepath-linux-mtu","tag-virtual-servers-for-sysadmins","tag-vps-for-firewall-troubleshooting","tag-vps-for-packet-capture","tag-vps-latency-troubleshooting","tag-vps-packet-loss-troubleshooting","tag-website-times-out-on-vps","tag-why-cant-i-ssh-into-my-vps"],"_links":{"self":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2779"}],"version-history":[{"count":2,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2779\/revisions"}],"predecessor-version":[{"id":2785,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2779\/revisions\/2785"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/2780"}],"wp:attachment":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}