<?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: Baleeghuddin shaikh</title>
    <description>The latest articles on DEV Community by Baleeghuddin shaikh (@baleeghuddin_shaikh_ed093).</description>
    <link>https://dev.to/baleeghuddin_shaikh_ed093</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%2F4191555%2Fcc454d78-7dd1-45ee-a253-03e18d4c6f77.png</url>
      <title>DEV Community: Baleeghuddin shaikh</title>
      <link>https://dev.to/baleeghuddin_shaikh_ed093</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/baleeghuddin_shaikh_ed093"/>
    <language>en</language>
    <item>
      <title>How to Fix Cloudflare Blocking Googlebot (403 on Sitemap and "Block AI Training Crawlers")</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Tue, 01 Dec 2026 16:41:29 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/how-to-fix-cloudflare-blocking-googlebot-403-on-sitemap-and-block-ai-training-crawlers-9lj</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/how-to-fix-cloudflare-blocking-googlebot-403-on-sitemap-and-block-ai-training-crawlers-9lj</guid>
      <description>&lt;p&gt;Search Console says &lt;strong&gt;"Couldn't fetch"&lt;/strong&gt; for your sitemap with &lt;strong&gt;"Blocked due to access forbidden (403)"&lt;/strong&gt;. Cloudflare Security Events shows Googlebot blocked by &lt;strong&gt;"Block AI training crawlers"&lt;/strong&gt;, even though Search is set to Allow.&lt;/p&gt;

&lt;p&gt;You didn't block Google. A &lt;a href="https://blog.cloudflare.com/accountable-mixed-use-ai-crawlers" rel="noopener noreferrer"&gt;Cloudflare change on September 15, 2026&lt;/a&gt; did.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Short Version
&lt;/h2&gt;

&lt;p&gt;Your &lt;strong&gt;Training&lt;/strong&gt; setting is on &lt;strong&gt;Block&lt;/strong&gt; (or Block on pages with ads). Since September 15, 2026, that also blocks &lt;strong&gt;Googlebot, Bingbot and Applebot&lt;/strong&gt;, because they crawl for search and AI training in the same visit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; set Training to &lt;strong&gt;Disallow AI Training&lt;/strong&gt;, keep Search on Allow, then resubmit your sitemap.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it happens
&lt;/h2&gt;

&lt;p&gt;Cloudflare groups AI crawlers into &lt;strong&gt;Search&lt;/strong&gt;, &lt;strong&gt;Training&lt;/strong&gt; and &lt;strong&gt;Agent&lt;/strong&gt;. Googlebot is a &lt;em&gt;mixed-use&lt;/em&gt; crawler: one crawl feeds both Google Search and Google's AI products.&lt;/p&gt;

&lt;p&gt;Before September 15, Training "Block" skipped mixed-use crawlers. Now it applies to them too, so Googlebot follows your Training setting, not your Search setting. That's why its individual switch looks locked.&lt;/p&gt;

&lt;h2&gt;
  
  
  Confirm it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Search Console &amp;gt; Sitemaps:&lt;/strong&gt; "Couldn't fetch" + 403.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudflare &amp;gt; Security &amp;gt; Events:&lt;/strong&gt; verified Googlebot, action Block, rule "Block AI training crawlers".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't test with a fake Googlebot user agent.&lt;/strong&gt; Cloudflare checks where the request really comes from. Use &lt;strong&gt;URL Inspection &amp;gt; Test live URL&lt;/strong&gt; instead.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Fix it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Option 1 (recommended): Disallow AI Training&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Domain &amp;gt; Security &amp;gt; Settings &amp;gt; AI crawler controls &amp;gt; &lt;strong&gt;Training: Disallow AI Training&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Googlebot and Applebot stay allowed for search&lt;/li&gt;
&lt;li&gt;A no-training rule (&lt;code&gt;Google-Extended&lt;/code&gt;, &lt;code&gt;Applebot-Extended&lt;/code&gt;) is published in robots.txt&lt;/li&gt;
&lt;li&gt;Training-only crawlers stay blocked&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Caveat: Bing won't get the no-training preference through robots.txt until Microsoft adds support (Cloudflare says early 2027).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Option 2: Allow training.&lt;/strong&gt; Every crawler gets through unless another setting or WAF rule blocks it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What doesn't work:&lt;/strong&gt; a WAF skip rule for verified bots (people report the managed rule still blocks), or only setting Search to Allow.&lt;/p&gt;

&lt;h2&gt;
  
  
  After the fix
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Resubmit the sitemap in Search Console.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test live URL&lt;/strong&gt; on the sitemap and homepage.&lt;/li&gt;
&lt;li&gt;Check Security Events: Googlebot should now be allowed.&lt;/li&gt;
&lt;li&gt;Confirm the sitemap returns &lt;strong&gt;200&lt;/strong&gt; with an &lt;a href="https://webtoolsrealm.com/tool/http-status-code-checker" rel="noopener noreferrer"&gt;HTTP status code checker&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Request indexing for important pages that dropped out.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To stay in Google Search, Googlebot must be able to crawl. To opt out of Google's AI training, use &lt;code&gt;Google-Extended&lt;/code&gt; in robots.txt. Blocking Googlebot to stop training removes you from search too.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://webtoolsrealm.com/blog/cloudflare-blocking-googlebot-403" rel="noopener noreferrer"&gt;Web Tools Realm&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>seo</category>
      <category>cloudflarechallenge</category>
      <category>devops</category>
    </item>
    <item>
      <title>I Turned 8 Years of SEO Checklists Into a Free Claude Code Plugin</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Tue, 01 Dec 2026 12:35:12 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/i-turned-8-years-of-seo-checklists-into-a-free-claude-code-plugin-ip1</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/i-turned-8-years-of-seo-checklists-into-a-free-claude-code-plugin-ip1</guid>
      <description>&lt;p&gt;I've been doing SEO for clients for about 8 years, and most audits start with the same checks: status codes, SSL expiry, redirect chains, missing or duplicate titles, canonicals, schema.&lt;/p&gt;

&lt;p&gt;So I packaged those checklists into a free plugin for Claude Code called &lt;strong&gt;SEO Toolkit by Web Tools Realm&lt;/strong&gt;. You type one command, and Claude runs the same checklist an experienced SEO would.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;Inside Claude Code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/plugin install webtoolsrealm-seo --marketplace webtoolsrealm/seo-toolkit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No API keys, no scripts, no hooks. It's pure instructions that Claude follows with standard tools like &lt;code&gt;curl&lt;/code&gt; and &lt;code&gt;nslookup&lt;/code&gt;, and Claude asks before running anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  The seven commands
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;technical-audit&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Full audit with a score out of 100, issues sorted by severity, and the exact fix for each&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;meta-audit&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Bulk-checks titles, descriptions, H1s, canonicals and noindex from a sitemap, with suggested rewrites&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;site-health&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Status, response time, SSL days left, redirect hops, compression, security headers, DNS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;redirect-map&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Maps old to new URLs for a migration and writes Apache, Nginx, Laravel, WordPress or Cloudflare rules&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Valid JSON-LD from real page content (it never invents reviews or ratings)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;content-brief&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Search intent, competitor gaps, outline, titles, FAQs and internal links&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;adsense-ready&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Required pages, content depth and policy risks before you apply&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each one is prefixed with &lt;code&gt;/webtoolsrealm-seo:&lt;/code&gt;, for example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/webtoolsrealm-seo:site-health example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What a site health check looks like
&lt;/h2&gt;

&lt;p&gt;You get a short table first:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;th&gt;Response&lt;/th&gt;
&lt;th&gt;SSL&lt;/th&gt;
&lt;th&gt;Redirects&lt;/th&gt;
&lt;th&gt;Compression&lt;/th&gt;
&lt;th&gt;Missing headers&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;450 ms&lt;/td&gt;
&lt;td&gt;59 days&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;gzip&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Then a prioritised fix list. When I ran it on my own site, it found five missing security headers and gave me the exact &lt;code&gt;.htaccess&lt;/code&gt; lines for my host. It also spotted that my pages weren't being cached by the CDN, which explained a slower response time.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one I use most: redirect-map
&lt;/h2&gt;

&lt;p&gt;Site migrations are where rankings go to die. Redirect chains, homepage dumping and leftover &lt;code&gt;noindex&lt;/code&gt; tags cause long-term losses.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;redirect-map&lt;/code&gt; takes a list of old URLs, maps each one to its most relevant new page with a single 301 hop, writes the rules for your server, and after launch verifies every redirect with &lt;code&gt;curl&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Transparency
&lt;/h2&gt;

&lt;p&gt;The plugin is MIT licensed. Reports end with one link to a related free browser tool on my site, webtoolsrealm.com. There are no affiliate links or tracking, and nothing is added to content you publish.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;📖 Full guide with every command explained: &lt;a href="https://webtoolsrealm.com/blog/free-seo-plugin-for-claude-code" rel="noopener noreferrer"&gt;Free SEO Plugin for Claude Code&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;⭐ Source on GitHub: &lt;a href="https://github.com/webtoolsrealm/seo-toolkit" rel="noopener noreferrer"&gt;webtoolsrealm/seo-toolkit&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🧰 Extended version with Python checkers and an auto HTML check: &lt;a href="https://github.com/webtoolsrealm/claude-code-seo" rel="noopener noreferrer"&gt;claude-code-seo&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What check would you add? I'm deciding what goes into the next version, so suggestions in the comments are welcome.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How to Monitor Your Website's Uptime and SSL Expiry for Free with GitHub Actions</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Mon, 30 Nov 2026 13:01:57 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/how-to-monitor-your-websites-uptime-and-ssl-expiry-for-free-with-github-actions-ioh</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/how-to-monitor-your-websites-uptime-and-ssl-expiry-for-free-with-github-actions-ioh</guid>
      <description>&lt;p&gt;An expired SSL certificate is one of the most embarrassing ways for a website to break. Visitors see a scary browser warning, traffic drops, and you usually find out from a user instead of from your own monitoring.&lt;/p&gt;

&lt;p&gt;Paid uptime monitors solve this, but if you run a few side projects or small business sites, there's a free option you probably already have: &lt;strong&gt;GitHub Actions&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In this post I'll show you how to set up a scheduled health check that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Checks if your sites are up (status code and response time)&lt;/li&gt;
&lt;li&gt;Warns you when an SSL certificate is close to expiring&lt;/li&gt;
&lt;li&gt;Detects redirect chains and redirect loops&lt;/li&gt;
&lt;li&gt;Checks whether Gzip or Brotli compression is enabled&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Emails you automatically&lt;/strong&gt; when something is wrong&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Total setup time: about 3 minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Create a repository
&lt;/h2&gt;

&lt;p&gt;You can use any repo, including a private one. I like keeping a small &lt;code&gt;monitoring&lt;/code&gt; repo just for this.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Add the workflow
&lt;/h2&gt;

&lt;p&gt;Create a file at &lt;code&gt;.github/workflows/website-health.yml&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Website Health Check&lt;/span&gt;

&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;schedule&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;cron&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0 */6 * * *"&lt;/span&gt;   &lt;span class="c1"&gt;# every 6 hours
&lt;/span&gt;  &lt;span class="na"&gt;workflow_dispatch&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;         &lt;span class="c1"&gt;# lets you run it manually
&lt;/span&gt;
&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;check&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;webtoolsrealm/website-checker-cli@v1&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;urls&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://yoursite.com https://blog.yoursite.com"&lt;/span&gt;
          &lt;span class="na"&gt;ssl-warn-days&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"14"&lt;/span&gt;
          &lt;span class="na"&gt;fail-on-problem&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"true"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace the URLs with your own. You can add as many as you like, separated by spaces.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Commit and run it
&lt;/h2&gt;

&lt;p&gt;Commit the file, open the &lt;strong&gt;Actions&lt;/strong&gt; tab, select &lt;strong&gt;Website Health Check&lt;/strong&gt;, and click &lt;strong&gt;Run workflow&lt;/strong&gt;. About 25 seconds later you'll get a report like this in the job summary:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Site&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;th&gt;Response&lt;/th&gt;
&lt;th&gt;SSL&lt;/th&gt;
&lt;th&gt;Redirects&lt;/th&gt;
&lt;th&gt;Compression&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://yoursite.com" rel="noopener noreferrer"&gt;https://yoursite.com&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;✅ 200&lt;/td&gt;
&lt;td&gt;452 ms&lt;/td&gt;
&lt;td&gt;✅ 59d left&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;br&lt;/td&gt;
&lt;td&gt;✅ Healthy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://blog.yoursite.com" rel="noopener noreferrer"&gt;https://blog.yoursite.com&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;✅ 200&lt;/td&gt;
&lt;td&gt;362 ms&lt;/td&gt;
&lt;td&gt;⚠️ 9d left&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;br&lt;/td&gt;
&lt;td&gt;⚠️ SSL expires in 9 days&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How the alerts work
&lt;/h2&gt;

&lt;p&gt;There's no extra service and no API key. With &lt;code&gt;fail-on-problem: "true"&lt;/code&gt;, the workflow &lt;strong&gt;fails&lt;/strong&gt; whenever it finds a problem, and GitHub already emails you when a scheduled workflow fails.&lt;/p&gt;

&lt;p&gt;So you get an alert when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A site returns a 4xx or 5xx error, or doesn't respond&lt;/li&gt;
&lt;li&gt;An SSL certificate is invalid or expires within &lt;code&gt;ssl-warn-days&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;A redirect loop appears&lt;/li&gt;
&lt;li&gt;Compression is turned off&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Make sure notifications are on under &lt;strong&gt;GitHub Settings → Notifications → Actions → "Send notifications for failed workflows only"&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing a schedule
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;cron&lt;/code&gt; line controls how often the check runs:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Schedule&lt;/th&gt;
&lt;th&gt;Cron&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Every hour&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0 * * * *&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Every 6 hours&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0 */6 * * *&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Once a day at 9:00 UTC&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0 9 * * *&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two honest caveats:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;GitHub doesn't guarantee exact timing for scheduled workflows. Runs can be delayed by several minutes when GitHub is busy. This setup is good for catching problems within hours, not seconds. If you need minute-level alerting for a production app, use a dedicated uptime service.&lt;/li&gt;
&lt;li&gt;In a &lt;strong&gt;public&lt;/strong&gt; repo, GitHub disables scheduled workflows after 60 days with no repository activity. Any commit re-enables them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For SSL expiry, broken redirects and "is my side project still alive?" checks, it works very well.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus: run the same checks locally
&lt;/h2&gt;

&lt;p&gt;The action is a wrapper around a small open-source Python CLI, so you can run the same checks from your terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install git+https://github.com/webtoolsrealm/website-checker-cli.git

wtr check yoursite.com        &lt;span class="c"&gt;# full health check&lt;/span&gt;
wtr ssl yoursite.com          &lt;span class="c"&gt;# certificate details and days left&lt;/span&gt;
wtr redirects yoursite.com    &lt;span class="c"&gt;# trace the full redirect chain&lt;/span&gt;
wtr headers yoursite.com      &lt;span class="c"&gt;# response headers plus missing security headers&lt;/span&gt;
wtr dns yoursite.com          &lt;span class="c"&gt;# A, AAAA, MX, NS, TXT records&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add &lt;code&gt;--json&lt;/code&gt; to any command if you want to pipe the output into another script.&lt;/p&gt;

&lt;p&gt;If you'd rather not install anything, the same checks are available as free browser tools at &lt;a href="https://webtoolsrealm.com" rel="noopener noreferrer"&gt;webtoolsrealm.com&lt;/a&gt;, for example the &lt;a href="https://webtoolsrealm.com/tool/ssl-checker" rel="noopener noreferrer"&gt;SSL Checker&lt;/a&gt; and &lt;a href="https://webtoolsrealm.com/tool/redirect-checker" rel="noopener noreferrer"&gt;Redirect Checker&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;Fifteen lines of YAML gets you free uptime and SSL monitoring for every site you run, with email alerts and no new accounts.&lt;/p&gt;

&lt;p&gt;The project is MIT-licensed and open to contributions: &lt;a href="https://github.com/webtoolsrealm/website-checker-cli" rel="noopener noreferrer"&gt;github.com/webtoolsrealm/website-checker-cli&lt;/a&gt;. If it's useful to you, a ⭐ helps other people find it.&lt;/p&gt;

&lt;p&gt;What do you use to monitor your side projects? I'd like to hear about other setups in the comments.&lt;/p&gt;

</description>
      <category>github</category>
      <category>devops</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Fix ERR_NAME_NOT_RESOLVED (What It Means and Why It Happens)</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Wed, 25 Nov 2026 16:16:40 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/how-to-fix-errnamenotresolved-what-it-means-and-why-it-happens-5908</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/how-to-fix-errnamenotresolved-what-it-means-and-why-it-happens-5908</guid>
      <description>&lt;p&gt;Chrome shows "This site can't be reached" with &lt;strong&gt;ERR_NAME_NOT_RESOLVED&lt;/strong&gt; underneath. On Android it often appears as "Webpage not available."&lt;/p&gt;

&lt;p&gt;The site may be perfectly fine. The error only tells you that your device couldn't find it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What ERR_NAME_NOT_RESOLVED Means
&lt;/h2&gt;

&lt;p&gt;The browser asked a DNS server for the website's IP address and didn't get a usable answer. Without an IP address, it has nowhere to connect.&lt;/p&gt;

&lt;p&gt;The cause can be your phone, browser, Wi-Fi or DNS settings, or the domain itself (expired, or missing DNS records).&lt;/p&gt;

&lt;h2&gt;
  
  
  The Short Version
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the site on a &lt;strong&gt;different network&lt;/strong&gt; (mobile data instead of Wi-Fi). If it loads, the problem is your device or network.&lt;/li&gt;
&lt;li&gt;If it fails everywhere, the &lt;strong&gt;domain&lt;/strong&gt; has a DNS problem.&lt;/li&gt;
&lt;li&gt;On &lt;strong&gt;Android&lt;/strong&gt;, the most common cause is &lt;strong&gt;Private DNS&lt;/strong&gt;. Set it to Automatic or Off.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ERR_NAME_NOT_RESOLVED vs DNS_PROBE_FINISHED_NXDOMAIN
&lt;/h2&gt;

&lt;p&gt;Both mean the domain couldn't be turned into an IP address. ERR_NAME_NOT_RESOLVED is the basic error, common on Android, other Chromium browsers and in the dev console for failed resources. DNS_PROBE_FINISHED_NXDOMAIN appears when desktop Chrome runs an extra check and confirms the domain doesn't exist. Here's a &lt;a href="https://webtoolsrealm.com/blog/dns-probe-finished-nxdomain" rel="noopener noreferrer"&gt;full DNS_PROBE_FINISHED_NXDOMAIN guide&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fix It on Android
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Private DNS:&lt;/strong&gt; Settings → Network &amp;amp; internet → Private DNS → Automatic (or Off to test).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Switch Wi-Fi ↔ mobile data.&lt;/strong&gt; If one works, the failing network is the problem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clear Chrome's site data:&lt;/strong&gt; Settings → Site settings → All sites → the site → clear.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Turn off VPN / ad-blocker / DNS changer apps.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Restart the phone.&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Fix It on Windows and Mac
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Flush DNS:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Windows&lt;/span&gt;
ipconfig /flushdns

&lt;span class="c"&gt;# macOS&lt;/span&gt;
sudo dscacheutil -flushcache&lt;span class="o"&gt;;&lt;/span&gt; sudo killall -HUP mDNSResponder
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Clear Chrome's cache at &lt;code&gt;chrome://net-internals/#dns&lt;/code&gt; → &lt;strong&gt;Clear host cache&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Switch DNS to &lt;code&gt;8.8.8.8&lt;/code&gt; / &lt;code&gt;8.8.4.4&lt;/code&gt; or &lt;code&gt;1.1.1.1&lt;/code&gt; / &lt;code&gt;1.0.0.1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check the hosts file (&lt;code&gt;C:\Windows\System32\drivers\etc\hosts&lt;/code&gt; or &lt;code&gt;/etc/hosts&lt;/code&gt;) for the domain.&lt;/li&gt;
&lt;li&gt;Restart your router.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  If the Site Fails Everywhere
&lt;/h2&gt;

&lt;p&gt;Run the domain through a &lt;a href="https://webtoolsrealm.com/tool/dns-lookup" rel="noopener noreferrer"&gt;DNS lookup&lt;/a&gt;. No A record means no IP to connect to; &lt;a href="https://webtoolsrealm.com/blog/nxdomain-explained" rel="noopener noreferrer"&gt;NXDOMAIN&lt;/a&gt; means the domain doesn't exist in DNS.&lt;/p&gt;

&lt;p&gt;Then check its &lt;a href="https://webtoolsrealm.com/tool/domain-whois" rel="noopener noreferrer"&gt;WHOIS record&lt;/a&gt;. &lt;code&gt;clientHold&lt;/code&gt;, &lt;code&gt;serverHold&lt;/code&gt; or &lt;code&gt;redemptionPeriod&lt;/code&gt; means it's suspended or expired.&lt;/p&gt;

&lt;h2&gt;
  
  
  If It's Your Own Site
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Confirm the domain is renewed.&lt;/li&gt;
&lt;li&gt;Nameservers at the registrar must match your host or Cloudflare.&lt;/li&gt;
&lt;li&gt;An A record (or CNAME for www) must point to your server.&lt;/li&gt;
&lt;li&gt;Recent changes? Allow time for &lt;a href="https://webtoolsrealm.com/blog/dns-propagation-explained" rel="noopener noreferrer"&gt;DNS propagation&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://webtoolsrealm.com/blog/err-name-not-resolved" rel="noopener noreferrer"&gt;Web Tools Realm&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>webnode</category>
    </item>
    <item>
      <title>ERR_TOO_MANY_REDIRECTS: What It Means and How to Fix It</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Mon, 23 Nov 2026 17:56:46 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/errtoomanyredirects-what-it-means-and-how-to-fix-it-41p</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/errtoomanyredirects-what-it-means-and-how-to-fix-it-41p</guid>
      <description>&lt;p&gt;You click a link, the page starts loading, and then the browser gives up with:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This page isn't working. example.com redirected you too many times. Try deleting your cookies. ERR_TOO_MANY_REDIRECTS&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Firefox shows the same problem as "The page isn't redirecting properly," and Safari says "Too many redirects occurred trying to open" the page.&lt;/p&gt;

&lt;h2&gt;
  
  
  What ERR_TOO_MANY_REDIRECTS Means
&lt;/h2&gt;

&lt;p&gt;ERR_TOO_MANY_REDIRECTS means the page is stuck in a redirect loop. URL A sends the browser to URL B, and URL B sends it back to URL A, or the chain goes in a circle through more steps. Browsers stop after about 20 redirects and show this error instead of looping forever.&lt;/p&gt;

&lt;p&gt;The server is reachable and responding. The problem is that its redirect rules contradict each other.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Short Version
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;If you're a visitor:&lt;/strong&gt; clear the cookies for that one site, then try an incognito window. If it still fails, the problem is on the website's side.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If it's your site:&lt;/strong&gt; run the URL through a &lt;a href="https://webtoolsrealm.com/tool/redirect-checker" rel="noopener noreferrer"&gt;redirect checker&lt;/a&gt; to see the loop, then check the six causes below. The most common one is Cloudflare's "Flexible" SSL mode combined with an HTTPS redirect on the server.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Fix It as a Visitor
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Clear cookies for that site only.&lt;/strong&gt; A stale cookie can send you to a login or language page that redirects back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Try an incognito window.&lt;/strong&gt; If it works there, it was your cookies or cache. If not, it's the site.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Disable browser extensions.&lt;/strong&gt; HTTPS-forcing or privacy extensions can fight with the site's redirects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check your device's date and time.&lt;/strong&gt; A wrong clock can break HTTPS sessions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If none of this works, only the site owner can fix it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Find the Loop (Site Owners)
&lt;/h2&gt;

&lt;p&gt;Before changing anything, see where the loop happens. A &lt;a href="https://webtoolsrealm.com/tool/redirect-checker" rel="noopener noreferrer"&gt;redirect checker&lt;/a&gt; lists every hop with its status code:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Hop&lt;/th&gt;
&lt;th&gt;URL&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;code&gt;http://example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;301 → &lt;code&gt;https://example.com&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;&lt;code&gt;https://example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;301 → &lt;code&gt;http://example.com&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;code&gt;http://example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;301 → &lt;code&gt;https://example.com&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;When the same two URLs keep swapping, one rule forces HTTPS and another forces HTTP.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 6 Most Common Causes
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Cloudflare "Flexible" SSL + an HTTPS redirect on the server
&lt;/h3&gt;

&lt;p&gt;In Flexible mode, Cloudflare talks to your server over plain HTTP. Your server redirects to HTTPS, Cloudflare requests HTTP again, and the loop never ends.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; Cloudflare → SSL/TLS → Overview → set &lt;strong&gt;Full&lt;/strong&gt; or &lt;strong&gt;Full (strict)&lt;/strong&gt;. Your server needs a valid certificate. You can confirm it with an &lt;a href="https://webtoolsrealm.com/tool/ssl-checker" rel="noopener noreferrer"&gt;SSL checker&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Conflicting HTTP/HTTPS rules
&lt;/h3&gt;

&lt;p&gt;.htaccess, Nginx, the hosting panel and the CMS can each force HTTPS. If one forces HTTP, they loop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; keep only one HTTPS redirect.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. www and non-www pointing at each other
&lt;/h3&gt;

&lt;p&gt;One rule sends &lt;code&gt;example.com&lt;/code&gt; to &lt;code&gt;www.example.com&lt;/code&gt;, and another sends it back.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; pick one version, then make the CMS, server config and CDN agree.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Wrong site URL in WordPress
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; set the correct URL in &lt;code&gt;wp-config.php&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nf"&gt;define&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'WP_HOME'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'https://example.com'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;define&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'WP_SITEURL'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'https://example.com'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Behind a proxy or load balancer, also add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;isset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$_SERVER&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'HTTP_X_FORWARDED_PROTO'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nv"&gt;$_SERVER&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'HTTP_X_FORWARDED_PROTO'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'https'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$_SERVER&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'HTTPS'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'on'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  5. A plugin redirect
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; rename &lt;code&gt;wp-content/plugins&lt;/code&gt; over FTP, check the site, then re-enable plugins one at a time.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Old redirects after a migration
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; list your redirect rules and test each one. This &lt;a href="https://webtoolsrealm.com/blog/site-migration-checklist" rel="noopener noreferrer"&gt;site migration checklist&lt;/a&gt; covers planning redirects.&lt;/p&gt;

&lt;h2&gt;
  
  
  After You Fix It
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Re-run the &lt;a href="https://webtoolsrealm.com/tool/redirect-checker" rel="noopener noreferrer"&gt;redirect checker&lt;/a&gt;. You want one or two hops ending in &lt;strong&gt;200&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Use &lt;strong&gt;301&lt;/strong&gt; for permanent moves, not 302 (&lt;a href="https://webtoolsrealm.com/blog/301-vs-302-redirect" rel="noopener noreferrer"&gt;why it matters&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Confirm the final page returns 200 with an &lt;a href="https://webtoolsrealm.com/tool/http-status-code-checker" rel="noopener noreferrer"&gt;HTTP status code checker&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Clear your CMS, server and CDN caches.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is it my fault or the website's?&lt;/strong&gt; Usually the website's, if clearing cookies and incognito don't help.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How many redirects trigger it?&lt;/strong&gt; About 20 in Chrome and Firefox. A healthy page needs one or two.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does it hurt SEO?&lt;/strong&gt; Yes. Search engines can't index a page stuck in a loop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does Cloudflare cause it?&lt;/strong&gt; Often, when SSL is set to Flexible and the server also forces HTTPS.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://webtoolsrealm.com/blog/err-too-many-redirects" rel="noopener noreferrer"&gt;Web Tools Realm&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>devops</category>
      <category>wordpress</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Site Works for Me but Not for Them: A 5-Step Debugging Checklist</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Tue, 17 Nov 2026 15:43:13 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/site-works-for-me-but-not-for-them-a-5-step-debugging-checklist-47bo</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/site-works-for-me-but-not-for-them-a-5-step-debugging-checklist-47bo</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbef2rtjl4txqsk7esyl8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbef2rtjl4txqsk7esyl8.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;A client messages you: "The site is down." You open it, and it loads perfectly. You try your phone, and it works there too. So who is right?&lt;/p&gt;

&lt;p&gt;Usually both. "Works for me" and "down for them" can both be true at the same time, because the path from their browser to your server is not the same as yours. Different DNS resolvers, different caches, different networks, different devices.&lt;/p&gt;

&lt;p&gt;This is the checklist I run through, in order. Each step rules out a whole category of problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Check from outside your own network
&lt;/h2&gt;

&lt;p&gt;Your browser is the worst witness. It has cached DNS, cached redirects, maybe a cached HSTS policy, and it is sitting on your network.&lt;/p&gt;

&lt;p&gt;Start with an external check that requests the page from a different location:&lt;/p&gt;

&lt;p&gt;Or use an online &lt;a href="https://webtoolsrealm.com/tool/website-status-checker" rel="noopener noreferrer"&gt;website status checker&lt;/a&gt;. If the external check also fails, the site really is down. If it succeeds, keep going. The problem is somewhere between them and you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Compare DNS answers
&lt;/h2&gt;

&lt;p&gt;If you recently changed hosting or DNS records, different resolvers may still be returning different answers. Their ISP's resolver may hold the old IP for the length of the old TTL.&lt;/p&gt;

&lt;p&gt;If those two disagree, or disagree with your authoritative nameserver, that is your answer. Wait out the TTL, or ask the user to flush their DNS. A &lt;a href="https://webtoolsrealm.com/tool/dns-lookup" rel="noopener noreferrer"&gt;DNS lookup tool&lt;/a&gt; shows what public resolvers return without touching your local cache.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Check the SSL certificate chain
&lt;/h2&gt;

&lt;p&gt;This is the one that hides best. If your server sends its certificate but not the intermediate certificate, most desktop browsers quietly fetch the missing piece and show a padlock. Many mobile browsers, older devices and command-line tools do not, and they show a security warning instead.&lt;/p&gt;

&lt;p&gt;So the site works on your laptop and fails on their phone.&lt;/p&gt;

&lt;p&gt;Count the certificates in the output. If you only see one, the chain is incomplete. With Let's Encrypt, the fix is almost always pointing your server at &lt;code&gt;fullchain.pem&lt;/code&gt; instead of &lt;code&gt;cert.pem&lt;/code&gt;. An &lt;a href="https://webtoolsrealm.com/tool/ssl-checker" rel="noopener noreferrer"&gt;SSL checker&lt;/a&gt; shows the full chain from outside your network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Follow the redirects
&lt;/h2&gt;

&lt;p&gt;Redirect rules can behave differently depending on cookies, location, device or whether the visitor typed &lt;a href="http://www" rel="noopener noreferrer"&gt;www&lt;/a&gt;. A user stuck in ERR_TOO_MANY_REDIRECTS will see a broken site while yours loads fine.&lt;/p&gt;

&lt;p&gt;This shows every hop and its status code. More than one or two hops, or the same URL appearing twice, means a rule needs fixing. A &lt;a href="https://webtoolsrealm.com/tool/redirect-checker" rel="noopener noreferrer"&gt;redirect checker&lt;/a&gt; does the same from outside your network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Test the port from outside
&lt;/h2&gt;

&lt;p&gt;If the page times out for them, a firewall may be dropping traffic from their network or region. Testing from your own machine bypasses that firewall, so it proves nothing.&lt;/p&gt;

&lt;p&gt;Run that from another network, or use an external &lt;a href="https://webtoolsrealm.com/tool/open-port-checker" rel="noopener noreferrer"&gt;open port checker&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A refused connection means the service is not listening. A timeout means something is silently dropping the packets.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Short Version
&lt;/h2&gt;

&lt;p&gt;When a site works for you but not for someone else, do not start with the server logs. Start by checking the path: an external status check, then DNS answers from public resolvers, then the certificate chain, then the redirect chain, then the port from outside. One of those five almost always explains the difference.&lt;/p&gt;

&lt;p&gt;I keep free versions of all of these checks at &lt;a href="https://webtoolsrealm.com" rel="noopener noreferrer"&gt;Web Tools Realm&lt;/a&gt;. No sign-up, and they run from the server side, so the results are not affected by your browser's cache.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>devops</category>
      <category>networking</category>
      <category>beginners</category>
    </item>
    <item>
      <title>DNS_PROBE_FINISHED_NXDOMAIN: What It Means and How to Fix It</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Mon, 16 Nov 2026 09:58:24 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/dnsprobefinishednxdomain-what-it-means-and-how-to-fix-it-2dem</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/dnsprobefinishednxdomain-what-it-means-and-how-to-fix-it-2dem</guid>
      <description>&lt;p&gt;You type an address, press Enter, and Chrome shows “This site can’t be reached” with DNS_PROBE_FINISHED_NXDOMAIN underneath. The page never starts loading.&lt;/p&gt;

&lt;p&gt;The error has one precise meaning, but two very different causes. Either the domain really does not exist in DNS, or something on your device or network is giving Chrome the wrong answer. The fix depends entirely on which one you have, and one quick test tells you.&lt;/p&gt;

&lt;h2&gt;
  
  
  What DNS_PROBE_FINISHED_NXDOMAIN Means
&lt;/h2&gt;

&lt;p&gt;Before Chrome can load a website, it asks a DNS resolver to turn the domain name into an IP address. NXDOMAIN is the resolver’s answer when it believes that name does not exist. “DNS_PROBE_FINISHED” means Chrome ran its own check and confirmed that result.&lt;/p&gt;

&lt;p&gt;So the error does not mean the website is down. It means Chrome never found out where the website is. The server could be running perfectly, and you would still see this error if the name cannot be resolved.&lt;/p&gt;

&lt;p&gt;The same condition appears with different wording in other browsers. Edge shows the same code. Firefox says “Hmm. We’re having trouble finding that site.” Safari says it “can’t find the server.”&lt;/p&gt;

&lt;p&gt;For the DNS side of the story, including why NXDOMAIN answers can stick around after a fix, see NXDOMAIN explained: &lt;a href="https://webtoolsrealm.com/blog/nxdomain-explained" rel="noopener noreferrer"&gt;https://webtoolsrealm.com/blog/nxdomain-explained&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;First, Find Out Whose Problem It Is&lt;/p&gt;

&lt;p&gt;Do these two checks before changing any settings. Together they take less than a minute.&lt;/p&gt;

&lt;p&gt;Try a different site. If every site fails, the problem is your connection or DNS settings. If only one site fails, keep going.&lt;br&gt;
Try the same site on a different network. Turn off Wi-Fi on your phone and open the site on mobile data.&lt;/p&gt;

&lt;p&gt;Loads on mobile data: the domain is fine. Something on your device or network is the cause. Go to the fixes for your device below.&lt;/p&gt;

&lt;p&gt;Fails everywhere: the problem is the domain itself. Skip to “When the Problem Is the Domain”.&lt;/p&gt;

&lt;p&gt;You can also run the domain through a DNS lookup tool (&lt;a href="https://webtoolsrealm.com/tool/dns-lookup" rel="noopener noreferrer"&gt;https://webtoolsrealm.com/tool/dns-lookup&lt;/a&gt;). It queries public DNS servers from outside your network. If the lookup returns an IP address, the domain resolves for the rest of the internet, and the problem is local.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fixes on Your Own Device
&lt;/h2&gt;

&lt;p&gt;Work through these in order and test after each one. Most cases are solved by the first three.&lt;/p&gt;

&lt;p&gt;Check the address for typos&lt;/p&gt;

&lt;p&gt;A single wrong letter, a missing dot, or “.con” instead of “.com” produces exactly this error, because that name genuinely does not exist.&lt;/p&gt;

&lt;p&gt;Clear Chrome’s own DNS cache&lt;/p&gt;

&lt;p&gt;Chrome keeps a separate DNS cache. Open this address in Chrome and click Clear host cache:&lt;/p&gt;

&lt;p&gt;chrome://net-internals/#dns&lt;/p&gt;

&lt;p&gt;Then open chrome://net-internals/#sockets and click Flush socket pools.&lt;/p&gt;

&lt;p&gt;Flush your system’s DNS cache&lt;/p&gt;

&lt;p&gt;Your operating system caches DNS answers too, including failed ones.&lt;/p&gt;

&lt;p&gt;Windows (Command Prompt):&lt;/p&gt;

&lt;p&gt;ipconfig /flushdns&lt;/p&gt;

&lt;p&gt;macOS (Terminal):&lt;/p&gt;

&lt;p&gt;sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder&lt;/p&gt;

&lt;h2&gt;
  
  
  Check Chrome’s secure DNS setting
&lt;/h2&gt;

&lt;p&gt;Chrome can send DNS queries to its own chosen provider instead of your system resolver. Go to Settings &amp;gt; Privacy and security &amp;gt; Security &amp;gt; Use secure DNS. If it is set to a custom provider, switch it to your current service provider, or the other way round, and test again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Switch to a public DNS server
&lt;/h2&gt;

&lt;p&gt;If your router or ISP’s resolver is failing, set a public resolver manually in your network adapter settings, such as 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google). If the site loads afterwards, your previous resolver was the cause.&lt;/p&gt;

&lt;h2&gt;
  
  
  Disable VPNs, ad blockers and DNS filters
&lt;/h2&gt;

&lt;p&gt;VPN apps, ad blockers and DNS filtering services can block domains at the DNS level. Some of them answer a blocked domain with NXDOMAIN, which makes the block look like a missing website.&lt;/p&gt;

&lt;p&gt;This is the usual explanation when the failing domain is an ad or tracking domain, such as googleadservices.com. Turn off the VPN or blocker temporarily and test. If the site loads, add it to the allowlist instead of leaving protection off.&lt;/p&gt;

&lt;p&gt;Reset the network stack (Windows)&lt;/p&gt;

&lt;p&gt;If the steps above did not help, run these in Command Prompt as administrator, then restart:&lt;/p&gt;

&lt;p&gt;ipconfig /release&lt;br&gt;
ipconfig /renew&lt;br&gt;
netsh winsock reset&lt;/p&gt;

&lt;p&gt;Restart your router&lt;/p&gt;

&lt;p&gt;Routers run their own DNS cache. Unplug it for 30 seconds and plug it back in.&lt;/p&gt;

&lt;p&gt;How to Fix It on Android&lt;/p&gt;

&lt;p&gt;The causes are the same, but the settings are in different places.&lt;/p&gt;

&lt;p&gt;Turn Wi-Fi off and on, or switch to mobile data and back.&lt;br&gt;
Check Private DNS. Go to Settings &amp;gt; Network &amp;amp; internet &amp;gt; Private DNS. On Samsung phones, this is under Connections &amp;gt; More connection settings &amp;gt; Private DNS. If it is set to a hostname that no longer works, set it to Automatic, or enter dns. google and test again.&lt;br&gt;
Clear Chrome’s cache. Go to Settings &amp;gt; Apps &amp;gt; Chrome &amp;gt; Storage &amp;gt; Clear cache. This does not delete your bookmarks or passwords.&lt;br&gt;
Restart the phone. It clears the device’s DNS cache.&lt;/p&gt;

&lt;h2&gt;
  
  
  When the Problem Is the Domain
&lt;/h2&gt;

&lt;p&gt;If the site fails on every network, the domain is not resolving for anyone. For a visitor, there is nothing to fix. For the site owner, these are the usual causes:&lt;/p&gt;

&lt;p&gt;The domain has expired. An expired domain is removed from DNS, and its WHOIS record usually shows a status such as clientHold or redemptionPeriod. A WHOIS lookup (&lt;a href="https://webtoolsrealm.com/tool/domain-whois" rel="noopener noreferrer"&gt;https://webtoolsrealm.com/tool/domain-whois&lt;/a&gt;) confirms this in seconds.&lt;/p&gt;

&lt;p&gt;The domain was never registered, or the registration has not completed yet.&lt;/p&gt;

&lt;p&gt;The nameservers are wrong. After a hosting move, the domain may point to nameservers that have no zone for it.&lt;/p&gt;

&lt;p&gt;The record is missing. The zone exists, but there is no record for the exact name requested. A common case is example.com working while &lt;a href="http://www.example.com" rel="noopener noreferrer"&gt;www.example.com&lt;/a&gt; has no record at all.&lt;/p&gt;

&lt;p&gt;A recent change has not spread yet. Resolvers that already received an NXDOMAIN answer keep it for a while. This is called negative caching, and it is why a site can stay unreachable for some people after the record has been added. DNS propagation explained covers the timing: &lt;a href="https://webtoolsrealm.com/blog/dns-propagation-explained" rel="noopener noreferrer"&gt;https://webtoolsrealm.com/blog/dns-propagation-explained&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How It Differs From Similar Chrome Errors&lt;/p&gt;

&lt;p&gt;DNS_PROBE_FINISHED_NXDOMAIN: the resolver says the domain does not exist.&lt;/p&gt;

&lt;p&gt;ERR_NAME_NOT_RESOLVED: Chrome could not resolve the name, but the failure was less specific, such as a timeout or a bad response.&lt;/p&gt;

&lt;p&gt;DNS_PROBE_FINISHED_BAD_CONFIG: your device’s DNS settings are broken. It has nothing to do with the website.&lt;/p&gt;

&lt;p&gt;DNS_PROBE_FINISHED_NO_INTERNET: there is no working connection at all.&lt;/p&gt;

&lt;p&gt;The full list, with what each one points to, is in DNS errors explained: &lt;a href="https://webtoolsrealm.com/blog/dns-errors-explained" rel="noopener noreferrer"&gt;https://webtoolsrealm.com/blog/dns-errors-explained&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Frequently Asked Questions&lt;/p&gt;

&lt;p&gt;What does DNS_PROBE_FINISHED_NXDOMAIN mean?&lt;br&gt;
It means Chrome asked a DNS resolver for the website’s IP address and was told the domain does not exist. The website may be running normally. Chrome simply could not find it.&lt;/p&gt;

&lt;p&gt;How do I fix DNS_PROBE_FINISHED_NXDOMAIN in Chrome?&lt;br&gt;
First check the address for typos. Then clear Chrome’s host cache at chrome://net-internals/#dns, flush your system DNS cache, and switch to a public DNS server such as 1.1.1.1 or 8.8.8.8. If the site fails on every network, the problem is the domain, not your browser.&lt;/p&gt;

&lt;p&gt;Why does the site work on my phone but not on my computer?&lt;br&gt;
The two devices are using different DNS resolvers, or one of them has a cached NXDOMAIN answer. Flush the DNS cache on the computer and check whether a VPN, ad blocker or custom DNS setting is active on it.&lt;/p&gt;

&lt;p&gt;Is DNS_PROBE_FINISHED_NXDOMAIN a virus?&lt;br&gt;
No. It is a DNS lookup result. Security software can cause it if it blocks a domain at the DNS level, but the error itself is not a sign of infection.&lt;/p&gt;

&lt;p&gt;Can I fix it if the website is not mine?&lt;br&gt;
Only if the cause is on your side. If the site fails on every network and in a DNS lookup tool, the domain is not resolving for anyone, and only the owner can fix it.&lt;/p&gt;

&lt;p&gt;Why does it keep coming back?&lt;br&gt;
A recurring error usually points to something that keeps resetting your DNS settings, such as a VPN app, a router with a failing resolver, or a security tool. Set a public DNS server manually and check which app changes it.&lt;/p&gt;

&lt;p&gt;The Short Version&lt;/p&gt;

&lt;p&gt;DNS_PROBE_FINISHED_NXDOMAIN means Chrome was told the domain does not exist. Test the site on mobile data first. If it loads there, the problem is your device: check for typos, clear Chrome’s host cache, flush DNS, check secure DNS, and disable any VPN or ad blocker. If it fails everywhere, the domain itself is not resolving, usually because it has expired, has the wrong nameservers, or is missing a record.&lt;/p&gt;

&lt;p&gt;Originally published on Web Tools Realm: &lt;a href="https://webtoolsrealm.com/blog/dns-probe-finished-nxdomain" rel="noopener noreferrer"&gt;https://webtoolsrealm.com/blog/dns-probe-finished-nxdomain&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>ERR_SSL_PROTOCOL_ERROR: What It Means and How to Fix It</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Fri, 06 Nov 2026 13:42:37 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/errsslprotocolerror-what-it-means-and-how-to-fix-it-2gj</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/errsslprotocolerror-what-it-means-and-how-to-fix-it-2gj</guid>
      <description>&lt;p&gt;The most useful thing to know about this error is what it is &lt;strong&gt;not&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It is not a certificate problem. Expired certificates, name mismatches and untrusted issuers all produce a different family of errors — the ones beginning &lt;code&gt;NET::ERR_CERT_&lt;/code&gt; — and every one of those means the connection got far enough for the browser to examine a certificate and reject it.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ERR_SSL_PROTOCOL_ERROR&lt;/code&gt; means it never got that far. The two sides could not agree on how to speak TLS at all, so no certificate was ever evaluated.&lt;/p&gt;

&lt;p&gt;That single distinction eliminates most of what people try first. Reissuing the certificate will not help, because the certificate was never the problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where you will see it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Chrome and Edge:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;This site can't provide a secure connection
example.com sent an invalid response.
ERR_SSL_PROTOCOL_ERROR
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Firefox&lt;/strong&gt; words the same failure differently:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Secure Connection Failed
SSL_ERROR_RX_RECORD_TOO_LONG
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;curl:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl: (35) error:0A00010B:SSL routines::wrong version number
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Those last two are worth memorising. &lt;code&gt;wrong version number&lt;/code&gt; and &lt;code&gt;SSL_ERROR_RX_RECORD_TOO_LONG&lt;/code&gt; almost always mean one specific thing, and it is the first cause below.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually causes it
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The server is not speaking TLS on that port
&lt;/h3&gt;

&lt;p&gt;The most common cause, and the easiest to miss.&lt;/p&gt;

&lt;p&gt;If a server is configured to serve plain HTTP on port 443, the browser opens a TLS handshake and receives an HTTP response instead. It has no idea what to do with that, so it reports a protocol error.&lt;/p&gt;

&lt;p&gt;That is exactly what &lt;code&gt;wrong version number&lt;/code&gt; is telling you: the bytes that came back were not TLS at all.&lt;/p&gt;

&lt;p&gt;Typical when a virtual host was set up on 443 without SSL enabled, when a reverse proxy forwards to a backend expecting HTTP, or when a site has just moved and the SSL configuration did not come with it.&lt;/p&gt;

&lt;h3&gt;
  
  
  TLS version mismatch
&lt;/h3&gt;

&lt;p&gt;Browsers removed support for TLS 1.0 and 1.1 in 2020. A server that still offers only those protocols can no longer negotiate with any current browser.&lt;/p&gt;

&lt;p&gt;The symptom is distinctive: the site works in an old browser, on an old phone, or from a tool that still permits legacy protocols, and fails everywhere modern. &lt;strong&gt;Nothing on the server changed — the browsers did.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The same happens in reverse on hardened servers configured for TLS 1.3 only, when something old tries to connect.&lt;/p&gt;

&lt;h3&gt;
  
  
  No shared cipher suite
&lt;/h3&gt;

&lt;p&gt;The two sides support overlapping TLS versions but no common cipher. Chrome has its own error for this — &lt;code&gt;ERR_SSL_VERSION_OR_CIPHER_MISMATCH&lt;/code&gt; — but a protocol error can surface for the same underlying reason depending on where negotiation breaks.&lt;/p&gt;

&lt;p&gt;Usually a server configured with a restrictive cipher list, often copied from a hardening guide written years earlier.&lt;/p&gt;

&lt;h3&gt;
  
  
  Something is intercepting the connection
&lt;/h3&gt;

&lt;p&gt;Antivirus products with HTTPS scanning, corporate proxies and some VPN clients insert themselves into TLS connections by design. When that interception is misconfigured or outdated, the result is a protocol error.&lt;/p&gt;

&lt;p&gt;The giveaway: the site fails on one machine and works on every other device on the same network.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to diagnose it
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Try another device on the same network
&lt;/h3&gt;

&lt;p&gt;Works elsewhere → the problem is on that one machine. Antivirus, a browser extension, or the browser's own TLS state.&lt;/p&gt;

&lt;p&gt;Fails everywhere → the problem is the server.&lt;/p&gt;

&lt;p&gt;Thirty seconds, and it splits the problem in half. Do it first.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Ask the server directly what it supports
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openssl s_client &lt;span class="nt"&gt;-connect&lt;/span&gt; example.com:443 &lt;span class="nt"&gt;-servername&lt;/span&gt; example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read the reply:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;wrong version number&lt;/code&gt;&lt;/strong&gt; → the server is not serving TLS on 443&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A handshake that completes&lt;/strong&gt;, showing a protocol and cipher → the server is fine and your client is the problem&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;no protocols available&lt;/code&gt;&lt;/strong&gt; or an immediate close → version or cipher mismatch&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Pin down which TLS versions work
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openssl s_client &lt;span class="nt"&gt;-tls1_2&lt;/span&gt; &lt;span class="nt"&gt;-connect&lt;/span&gt; example.com:443 &lt;span class="nt"&gt;-servername&lt;/span&gt; example.com
openssl s_client &lt;span class="nt"&gt;-tls1_3&lt;/span&gt; &lt;span class="nt"&gt;-connect&lt;/span&gt; example.com:443 &lt;span class="nt"&gt;-servername&lt;/span&gt; example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If 1.2 fails and 1.3 succeeds — or the reverse — you have found the mismatch, and the fix is in the server's protocol configuration.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Confirm the port is actually open
&lt;/h3&gt;

&lt;p&gt;If nothing answers at all, you do not have a TLS problem — you have a connectivity problem wearing a TLS error.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to fix it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;If it is only your machine:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Disable HTTPS scanning in your antivirus temporarily and retest&lt;/li&gt;
&lt;li&gt;Try an incognito window to rule out extensions&lt;/li&gt;
&lt;li&gt;Clear the browser's SSL state — &lt;code&gt;chrome://net-internals/#hsts&lt;/code&gt; can hold stale entries for a specific domain&lt;/li&gt;
&lt;li&gt;Test in a different browser. Chrome failing where Firefox works points at Chrome's own state&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;If it is the server:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Confirm SSL is actually enabled on the listening block for 443 — this resolves the &lt;code&gt;wrong version number&lt;/code&gt; case outright&lt;/li&gt;
&lt;li&gt;Enable TLS 1.2 alongside 1.3. Serving only 1.3 excludes a meaningful share of clients; serving only 1.0 or 1.1 excludes every current browser&lt;/li&gt;
&lt;li&gt;Review the cipher list, especially if it was copied from an old hardening guide&lt;/li&gt;
&lt;li&gt;Verify the certificate and private key are a matching pair, and that the configuration was actually reloaded&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it differs from the other SSL errors
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;ERR_SSL_PROTOCOL_ERROR&lt;/code&gt;&lt;/strong&gt; — the handshake failed. No certificate was examined.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;NET::ERR_CERT_DATE_INVALID&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;ERR_CERT_AUTHORITY_INVALID&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;ERR_CERT_COMMON_NAME_INVALID&lt;/code&gt;&lt;/strong&gt; — the handshake succeeded and a certificate was presented, then rejected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;ERR_SSL_VERSION_OR_CIPHER_MISMATCH&lt;/code&gt;&lt;/strong&gt; — same family as a protocol error, but Chrome has identified the specific reason. Treat it as a protocol error with a head start.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;ERR_CONNECTION_RESET&lt;/code&gt; on port 443&lt;/strong&gt; — not TLS at all. Something closed the TCP connection before TLS began, usually a firewall.&lt;/p&gt;

&lt;p&gt;The practical rule: a &lt;code&gt;CERT&lt;/code&gt; error is about the certificate. Everything else is about whether a TLS conversation could happen in the first place.&lt;/p&gt;

&lt;h2&gt;
  
  
  One thing worth knowing
&lt;/h2&gt;

&lt;p&gt;An expired certificate does &lt;strong&gt;not&lt;/strong&gt; cause this. That produces &lt;code&gt;NET::ERR_CERT_DATE_INVALID&lt;/code&gt;, and the browser offers a bypass option.&lt;/p&gt;

&lt;p&gt;A protocol error has no bypass — there is nothing to bypass, because no secure channel was ever established.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;p&gt;Test another device first: if the site works there, the fault is on your machine, usually antivirus HTTPS scanning. If it fails everywhere, run &lt;code&gt;openssl s_client&lt;/code&gt; — &lt;code&gt;wrong version number&lt;/code&gt; means the server is serving plain HTTP on 443, and a handshake that completes means the server is fine and your client is not.&lt;/p&gt;

&lt;p&gt;If you want to check what a server is actually presenting from outside your own network — chain, covered names, expiry — I keep a free checker at &lt;a href="https://webtoolsrealm.com/tool/ssl-checker" rel="noopener noreferrer"&gt;webtoolsrealm.com/tool/ssl-checker&lt;/a&gt;. Full disclosure, that's my own site.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://webtoolsrealm.com/blog/err-ssl-protocol-error" rel="noopener noreferrer"&gt;webtoolsrealm.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>devops</category>
      <category>security</category>
      <category>ssl</category>
    </item>
    <item>
      <title>SERVFAIL: What It Means and How to Diagnose It</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Tue, 03 Nov 2026 17:59:42 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/servfail-what-it-means-and-how-to-diagnose-it-5fo3</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/servfail-what-it-means-and-how-to-diagnose-it-5fo3</guid>
      <description>&lt;p&gt;SERVFAIL is a DNS response code, and it is the least specific one you can get:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The resolver tried to answer your query and could not produce a valid result.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is deliberately vague, because SERVFAIL covers everything from a broken cryptographic signature to a name server that is simply switched off. The domain probably exists. Something between you and the authoritative answer went wrong.&lt;/p&gt;

&lt;p&gt;This makes it harder to diagnose than NXDOMAIN — but there is one command that splits the possibilities in half immediately, and most explanations never mention it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where you will see it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dig example.com
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: SERVFAIL, id: 18442
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nslookup example.com
** server can't find example.com: SERVFAIL

host example.com
Host example.com not found: 2(SERVFAIL)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That &lt;code&gt;2&lt;/code&gt; is the numeric code. NXDOMAIN is 3, SERVFAIL is 2, NOERROR is 0.&lt;/p&gt;

&lt;p&gt;In browsers it usually surfaces as &lt;code&gt;DNS_PROBE_FINISHED_NXDOMAIN&lt;/code&gt; or &lt;code&gt;ERR_NAME_NOT_RESOLVED&lt;/code&gt; — browsers collapse DNS failures into one message, which is exactly why people end up diagnosing the wrong problem. The browser text does not tell you which response code came back. Only a direct query does.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one command that narrows it immediately
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig +cd example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;+cd&lt;/code&gt; means &lt;strong&gt;checking disabled&lt;/strong&gt; — it tells the resolver to skip DNSSEC validation and hand you whatever it gets.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Works with &lt;code&gt;+cd&lt;/code&gt;, fails without it&lt;/strong&gt; → DNSSEC validation failure. The data is there; the signatures do not check out&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fails both ways&lt;/strong&gt; → the resolver genuinely cannot reach or get a usable answer from the authoritative name servers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That one comparison eliminates roughly half the possible causes. Do it before anything else.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually causes it
&lt;/h2&gt;

&lt;h3&gt;
  
  
  DNSSEC validation failure
&lt;/h3&gt;

&lt;p&gt;The most common cause on domains that were working yesterday.&lt;/p&gt;

&lt;p&gt;DNSSEC signs DNS records cryptographically. If the chain breaks — an expired signature, a DS record at the registry that no longer matches the zone's key, a key rotation done incorrectly, or DNSSEC left enabled after moving to a provider that does not sign — validating resolvers refuse to serve the answer at all.&lt;/p&gt;

&lt;p&gt;Refusing is correct behaviour: the alternative is serving data that may have been tampered with.&lt;/p&gt;

&lt;p&gt;Those signatures carry expiry dates, so a zone that stops being re-signed breaks at a predictable moment without anyone touching anything. &lt;strong&gt;A domain that "broke overnight with no changes" is very often this.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Non-validating resolvers still answer normally, which is why the domain works for some people and not others.&lt;/p&gt;

&lt;h3&gt;
  
  
  The authoritative name servers are unreachable
&lt;/h3&gt;

&lt;p&gt;Nothing exotic — servers down, host offline, or a firewall blocking port 53. The resolver asked, nothing usable came back.&lt;/p&gt;

&lt;h3&gt;
  
  
  Lame delegation
&lt;/h3&gt;

&lt;p&gt;The parent zone points at name servers that do not host the zone. They are reachable and they respond — they just have no authoritative data for this domain.&lt;/p&gt;

&lt;p&gt;Happens after a migration where name servers were changed at one end but not the other, or where a hosting account was closed while the registrar still points at it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Inconsistent name servers
&lt;/h3&gt;

&lt;p&gt;A domain lists four name servers; two have the zone, two do not, or they hold different versions. Resolvers pick whichever they like, so the domain resolves intermittently — with no pattern anyone can reproduce.&lt;/p&gt;

&lt;p&gt;Query each one individually and compare. If they disagree, you have found it.&lt;/p&gt;

&lt;h3&gt;
  
  
  EDNS and packet size
&lt;/h3&gt;

&lt;p&gt;DNSSEC-signed responses regularly exceed the 512-byte limit of classic DNS. Some firewalls and older middleboxes drop oversized UDP responses or block fragments outright.&lt;/p&gt;

&lt;p&gt;Symptom: small queries work, large ones fail.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig +bufsize&lt;span class="o"&gt;=&lt;/span&gt;512 example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Succeeds where the default fails → packet size, not DNS data.&lt;/p&gt;

&lt;h2&gt;
  
  
  SERVFAIL vs NXDOMAIN
&lt;/h2&gt;

&lt;p&gt;They point in opposite directions, and treating one as the other wastes hours.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SERVFAIL&lt;/strong&gt; — no usable answer arrived. The domain probably exists. The problem is DNSSEC, the name servers, or the path to them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NXDOMAIN&lt;/strong&gt; — an authoritative server answered, and the answer was that the name does not exist. The problem is the name itself.&lt;/p&gt;

&lt;p&gt;The rule: NXDOMAIN is an answer you should believe. SERVFAIL means try again, against a different resolver, and look at the infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to diagnose it, in order
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. &lt;code&gt;dig +cd&lt;/code&gt;.&lt;/strong&gt; DNSSEC or not. Halves the problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Try different resolvers.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig example.com @1.1.1.1
dig example.com @8.8.8.8
dig example.com @9.9.9.9
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Some answer and others do not → almost certainly DNSSEC. Cloudflare, Google and Quad9 all validate, but they cache independently, and a resolver holding a pre-breakage answer keeps serving it until that entry expires.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Query each delegated name server.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig NS example.com
dig example.com @ns1.provider.com
dig example.com @ns2.provider.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All should agree. Any that times out, refuses, or disagrees is the fault.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Trace from the root.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig +trace example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Walks root → TLD → authoritative, showing exactly which step fails. Fastest way to spot a lame delegation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Check what the registry actually has.&lt;/strong&gt; If the registry's name servers do not match the ones you expect, the delegation was never updated. A &lt;a href="https://webtoolsrealm.com/tool/dns-lookup" rel="noopener noreferrer"&gt;DNS lookup&lt;/a&gt; from outside your own network shows the delegation as the rest of the internet sees it — full disclosure, that's a free tool I built, and the reason it helps here is that it removes your own resolver's cache from the picture.&lt;/p&gt;

&lt;h2&gt;
  
  
  If it is DNSSEC
&lt;/h2&gt;

&lt;p&gt;Two options, depending on whether you control the zone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix the chain.&lt;/strong&gt; Re-sign the zone, or correct the DS record at the registrar so it matches the key the zone actually publishes. This is the proper fix.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Remove DNSSEC.&lt;/strong&gt; Delete the DS record at the registrar, wait for it to expire from caches, and the domain resolves again unsigned. This is the usual emergency measure, and it removes the protection entirely.&lt;/p&gt;

&lt;p&gt;What you cannot do is tell other people's resolvers to ignore the problem. Validation failing is them doing their job.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;p&gt;SERVFAIL means no usable answer arrived, not that the name is missing — the opposite of NXDOMAIN, which is why people troubleshoot the wrong thing.&lt;/p&gt;

&lt;p&gt;Start with &lt;code&gt;dig +cd&lt;/code&gt;: if that works and a normal query does not, it is DNSSEC, and the fix is the DS record rather than anything in the zone. If both fail, query each delegated name server individually — one that times out, refuses, or disagrees with the others is your answer.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://webtoolsrealm.com/blog/servfail-explained" rel="noopener noreferrer"&gt;webtoolsrealm.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>dns</category>
      <category>devops</category>
      <category>sysadmin</category>
      <category>networking</category>
    </item>
    <item>
      <title>Connection Refused vs Connection Timed Out: What Each Error Actually Means</title>
      <dc:creator>Baleeghuddin shaikh</dc:creator>
      <pubDate>Sun, 18 Oct 2026 06:16:10 +0000</pubDate>
      <link>https://dev.to/baleeghuddin_shaikh_ed093/connection-refused-vs-connection-timed-out-what-each-error-actually-means-1fef</link>
      <guid>https://dev.to/baleeghuddin_shaikh_ed093/connection-refused-vs-connection-timed-out-what-each-error-actually-means-1fef</guid>
      <description>&lt;p&gt;Two of the most common networking errors look identical from the outside — in both cases you can't reach the server. But they're opposites, and knowing which one you're looking at narrows the cause from dozens of possibilities to two or three.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connection refused&lt;/strong&gt; means something answered you and said no.&lt;br&gt;
&lt;strong&gt;Connection timed out&lt;/strong&gt; means nothing answered at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's actually happening
&lt;/h2&gt;

&lt;p&gt;Every TCP connection starts with a three-step handshake. You send &lt;code&gt;SYN&lt;/code&gt;. The server replies &lt;code&gt;SYN-ACK&lt;/code&gt;. You send &lt;code&gt;ACK&lt;/code&gt;. Connection established.&lt;/p&gt;

&lt;p&gt;What you see when that fails depends on where it broke:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Server sends back an &lt;code&gt;RST&lt;/code&gt; packet → &lt;strong&gt;connection refused&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Nothing comes back at all, and your machine eventually gives up → &lt;strong&gt;connection timed out&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An &lt;code&gt;RST&lt;/code&gt; is an active reply. Your packet reached a real machine, that machine processed it, and it deliberately rejected you. A timeout means your packet vanished somewhere and no reply ever arrived.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connection refused
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ERR_CONNECTION_REFUSED
curl: (7) Failed to connect to example.com port 443: Connection refused
ssh: connect to host 203.0.113.5 port 22: Connection refused
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  What causes it
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Nothing is listening on that port.&lt;/strong&gt; By far the most common cause. The host is up and reachable, but nothing is bound to the port you asked for. The service crashed, never started, or you're hitting the wrong port.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The service is bound to the wrong interface.&lt;/strong&gt; A service listening on &lt;code&gt;127.0.0.1&lt;/code&gt; accepts connections only from the machine itself. From anywhere else they get refused. To accept outside traffic it needs &lt;code&gt;0.0.0.0&lt;/code&gt; or the server's actual IP.&lt;/p&gt;

&lt;p&gt;This one catches everyone during development. Works perfectly on localhost, fails the moment someone else tries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A firewall set to REJECT rather than DROP.&lt;/strong&gt; Firewalls dispose of unwanted packets two ways. &lt;code&gt;REJECT&lt;/code&gt; sends back an &lt;code&gt;RST&lt;/code&gt; → refused. &lt;code&gt;DROP&lt;/code&gt; silently discards → timeout. Most server firewalls use &lt;code&gt;DROP&lt;/code&gt;; many consumer routers and corporate appliances use &lt;code&gt;REJECT&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to check
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ss &lt;span class="nt"&gt;-tlnp&lt;/span&gt;        &lt;span class="c"&gt;# what's listening, and which process owns it&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If your port isn't in that list, nothing is running. If it shows &lt;code&gt;127.0.0.1:3306&lt;/code&gt; rather than &lt;code&gt;0.0.0.0:3306&lt;/code&gt;, you've found the bind-address problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connection timed out
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ERR_CONNECTION_TIMED_OUT
curl: (28) Failed to connect to example.com port 443 after 130000 ms
ssh: connect to host 203.0.113.5 port 22: Operation timed out
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  What causes it
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;A firewall silently dropping your packets.&lt;/strong&gt; The most common cause by a wide margin. Security groups on AWS, firewall rules on GCP, NSGs on Azure. Your packet arrives, the rule matches, the packet is discarded, nothing is sent back.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Missing or misconfigured port forwarding.&lt;/strong&gt; When the service sits behind NAT, traffic hitting the public IP has to be forwarded inward. Without that rule, packets reach the router and stop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The host isn't reachable at all.&lt;/strong&gt; Powered off, or the IP no longer points at it. A dynamic IP that changed overnight is a common culprit — and if that IP was in a whitelist somewhere, the whitelist now points at a stranger.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your ISP blocks the port.&lt;/strong&gt; Residential providers routinely block outbound 25 (SMTP), and sometimes 80, 443 and 445. The block is silent, so it shows up as a timeout rather than a refusal.&lt;/p&gt;

&lt;h2&gt;
  
  
  The shortcut
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fails fast&lt;/strong&gt; → refused → the host is alive, the &lt;strong&gt;service&lt;/strong&gt; is the problem&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fails slow&lt;/strong&gt; (20–130 seconds) → dropped → a &lt;strong&gt;firewall, NAT rule or route&lt;/strong&gt; is the problem&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you remember nothing else from this post, remember that. The speed of the failure tells you which half of the stack to stop looking at, before you even read the error text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common ports, common causes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Port 22 (SSH)&lt;/strong&gt;&lt;br&gt;
Refused usually means sshd isn't running, or it's listening on a non-standard port. Timed out usually means a security group never allowed your IP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Port 25 (SMTP)&lt;/strong&gt;&lt;br&gt;
Refused means no MTA is listening. Timed out from a home connection is almost always your ISP blocking outbound mail — use port 587 with authentication instead.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ports 80 and 443 (HTTP / HTTPS)&lt;/strong&gt;&lt;br&gt;
Refused means the web server is down. Timed out means a firewall never let you near it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ports 3306 (MySQL) and 5432 (PostgreSQL)&lt;/strong&gt;&lt;br&gt;
Refused is nearly always the bind address, since both ship listening on localhost only. Timed out means a firewall, or the database was never exposed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Port 3389 (RDP)&lt;/strong&gt;&lt;br&gt;
Refused means the service is disabled. Timed out is usually the Windows Firewall profile, which blocks by default on public networks.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical order of checks
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Note whether the failure was fast or slow — this alone splits the problem in half&lt;/li&gt;
&lt;li&gt;Confirm DNS resolves to the IP you expect. If it doesn't, you're timing out against the wrong machine entirely&lt;/li&gt;
&lt;li&gt;Ping the host, keeping in mind many servers block ICMP, so silence here isn't conclusive&lt;/li&gt;
&lt;li&gt;Test the specific port &lt;strong&gt;from outside your own network&lt;/strong&gt; — testing from the server bypasses every firewall between you and it&lt;/li&gt;
&lt;li&gt;If the port opens but the site still fails, the network layer is fine. Move up to the application&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For step 4 I use an &lt;a href="https://webtoolsrealm.com/tool/open-port-checker" rel="noopener noreferrer"&gt;online port checker&lt;/a&gt; — full disclosure, that's a free tool I built — since the whole point is testing the path a real visitor takes, not the path from your own machine. A &lt;a href="https://webtoolsrealm.com/tool/ping" rel="noopener noreferrer"&gt;ping test&lt;/a&gt; covers step 3 the same way.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why does refused happen instantly but timeout take 30 seconds?&lt;/strong&gt;&lt;br&gt;
A refusal is an active reply, so the &lt;code&gt;RST&lt;/code&gt; comes back at network speed. A timeout is the &lt;em&gt;absence&lt;/em&gt; of a reply, so your system waits out a timer — typically 20 to 130 seconds depending on the OS and client.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does connection refused mean the server is down?&lt;/strong&gt;&lt;br&gt;
Usually the opposite. Something on that machine was awake enough to reject you. The host is up; the specific service isn't listening on that specific port.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why does it work locally but not from outside?&lt;/strong&gt;&lt;br&gt;
Almost always bind address or firewall. Test externally, not from the server.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://webtoolsrealm.com/blog/connection-refused-vs-connection-timed-out" rel="noopener noreferrer"&gt;webtoolsrealm.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>backend</category>
      <category>devops</category>
      <category>networking</category>
    </item>
  </channel>
</rss>
