<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 云智慧 Yunzhihui Cloud</title>
    <description>The latest articles on DEV Community by 云智慧 Yunzhihui Cloud (@yunzhihuicloud).</description>
    <link>https://dev.to/yunzhihuicloud</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4241446%2F61951231-ad8c-4390-8123-d940da61cd89.png</url>
      <title>DEV Community: 云智慧 Yunzhihui Cloud</title>
      <link>https://dev.to/yunzhihuicloud</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yunzhihuicloud"/>
    <language>en</language>
    <item>
      <title>Linux cloud server unreachable? A five-layer troubleshooting checklist</title>
      <dc:creator>云智慧 Yunzhihui Cloud</dc:creator>
      <pubDate>Thu, 12 Nov 2026 16:46:13 +0000</pubDate>
      <link>https://dev.to/yunzhihuicloud/linux-cloud-server-unreachable-a-five-layer-troubleshooting-checklist-573p</link>
      <guid>https://dev.to/yunzhihuicloud/linux-cloud-server-unreachable-a-five-layer-troubleshooting-checklist-573p</guid>
      <description>&lt;p&gt;A server that responds on localhost can still be unreachable from the internet. Before changing instance size, test each layer separately.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Confirm the application is listening
&lt;/h2&gt;

&lt;p&gt;Run these commands on your own Linux server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ss -lntp
curl -I http://127.0.0.1:8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace 8080 with your application's port. A process bound only to 127.0.0.1 accepts local connections. When using Nginx as a reverse proxy, this is often intentional. Keep the backend private and expose the proxy's HTTP/HTTPS ports.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Check the host firewall and cloud security group
&lt;/h2&gt;

&lt;p&gt;These are separate controls. Inspect the operating-system firewall and the inbound rules attached to the instance. Open only the intended public service ports. Restrict SSH to trusted source addresses where practical. Avoid opening every port to diagnose a single endpoint.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Test the reverse proxy
&lt;/h2&gt;

&lt;p&gt;Check configuration syntax before reloading Nginx:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo nginx -t
curl -I http://127.0.0.1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the backend responds but Nginx returns 502, inspect the upstream address, port, application status and proxy error log. If the wrong site appears, check the server_name and matching virtual host.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Verify DNS and HTTPS separately
&lt;/h2&gt;

&lt;p&gt;An old A record or unexpected AAAA record may send visitors elsewhere. Compare the resolved addresses with the intended endpoint. A valid certificate must cover the requested hostname. Test from an external network as well as from the instance.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Record a reproducible result
&lt;/h2&gt;

&lt;p&gt;Keep a small checklist with the hostname, expected port, HTTP status, test time and network used. Redact cookies, authorization headers and private IP details before sharing logs. This makes intermittent failures much easier to investigate.&lt;/p&gt;

&lt;h3&gt;
  
  
  About the author
&lt;/h3&gt;

&lt;p&gt;Yunzhihui Cloud publishes cloud-server deployment and operations guides. Our &lt;a href="https://yunzhihuicloud.com/cloud-server-consulting/" rel="noopener noreferrer"&gt;cloud-server consulting page&lt;/a&gt; describes how to prepare configuration requirements. For service enquiries, contact &lt;a href="https://t.me/ak6793" rel="noopener noreferrer"&gt;Telegram @ak6793&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>debugging</category>
      <category>linux</category>
      <category>networking</category>
    </item>
  </channel>
</rss>
