<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-heard-there-was-a-secret-port--fnrm3ivpf" -->

---
title: I Heard There Was A Secret Port… | daily.dev
description: Port 0 in TCP is almost never used, found on roughly 0.25% of hosts globally, according to research by Acid Vegas. The Linux kernel normally maps a request for...
canonical: https://daily.dev/posts/i-heard-there-was-a-secret-port--fnrm3ivpf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I Heard There Was A Secret Port… | daily.dev
og:description: Port 0 in TCP is almost never used, found on roughly 0.25% of hosts globally, according to research by Acid Vegas. The Linux kernel normally maps a request for...
og:url: https://daily.dev/posts/i-heard-there-was-a-secret-port--fnrm3ivpf
og:image: https://api.daily.dev/og/posts/Fnrm3IVPF.png
og:image:alt: I Heard There Was A Secret Port…
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I Heard There Was A Secret Port…

**[Hackaday](https://daily.dev/sources/hackaday)** · 2 min read · 3 upvotes · 0 comments

## Summary

Port 0 in TCP is almost never used, found on roughly 0.25% of hosts globally, according to research by Acid Vegas. The Linux kernel normally maps a request for port 0 to a random even port between 32768 and 61000, but tools like IPTables or raw sockets can force real traffic onto it. Acid Vegas bound plain text IRC to irc.supernets.org on port 0 and TLS on port 1. Many common tools refuse port 0 outright: BSD netcat and Telnet reject it, browsers warn it's unsafe, and Python SSL throws an IO error, though Python AsyncIO and socat work fine. Scans of the internet found mostly accidental uses: DropBear SSH and Telnet on embedded devices, router admin pages, RustDesk, and even SMDR, a plaintext protocol for logging phone call records.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hackaday.com/2026/11/22/i-heard-there-was-a-secret-port>

## Questions this post answers

### What happens if you try to bind or connect to TCP port 0?

The Linux kernel does not actually give you port 0; requesting it returns a randomly allocated even port between 32768 and 61000. Forcing real traffic onto port 0 requires raw sockets or firewall rules like IPTables/NFTables port mapping. Many tools refuse it outright: BSD netcat and Telnet say the port is too small, browsers warn it's unsafe, and Python SSL raises an IO error. Python AsyncIO and socat work fine with it.

_Digging into TCP internals like this is easier to keep track of browsing daily.dev's networking coverage._

### How many hosts on the internet actually use TCP port 0?

About 0.25% of hosts globally, give or take, were found listening on TCP port 0, according to research by Acid Vegas. Most of these appear accidental, likely from network devices defaulting to a strange configuration that nobody noticed. Services found there include DropBear SSH, Telnet, HTTP router admin pages, RustDesk, and SMDR phone call logging.

_Developers curious about obscure networking edge cases like this can follow more on daily.dev._

## Similar posts on daily.dev

- [Binding port 0 to avoid port collisions](https://daily.dev/posts/binding-port-0-to-avoid-port-collisions-ujfxx2rit) · nicole@web · 0 upvotes · 0 comments
- [Port Zero — stable domains for your local dev ports](https://daily.dev/posts/port-zero-stable-domains-for-your-local-dev-ports-v3ejxylya) · Hacker News · 1 upvotes · 0 comments
- [Infosec researchers mull curious case of Telnet ancient flaw](https://daily.dev/posts/infosec-researchers-mull-curious-case-of-telnet-ancient-flaw-kzhismy5k) · The Register · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#linux](https://daily.dev/tags/linux), [#networking](https://daily.dev/tags/networking)

[View this post on daily.dev](https://daily.dev/posts/i-heard-there-was-a-secret-port--fnrm3ivpf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I Heard There Was A Secret Port…","url":"https://daily.dev/posts/i-heard-there-was-a-secret-port--fnrm3ivpf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-heard-there-was-a-secret-port--fnrm3ivpf"},"datePublished":"2026-11-23T03:07:04.439Z","dateModified":"2026-11-23T03:07:37.748Z","description":"Port 0 in TCP is almost never used, found on roughly 0.25% of hosts globally, according to research by Acid Vegas. The Linux kernel normally maps a request for...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2f3d6b1c2ee2ab13078c71ef23c22c4a?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2f3d6b1c2ee2ab13078c71ef23c22c4a?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hackaday","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hackaday","logo":"https://media.daily.dev/image/upload/s--JhDfhy70--/f_auto,q_auto/v1767541814/logos/hackaday","url":"https://daily.dev/sources/hackaday"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-heard-there-was-a-secret-port--fnrm3ivpf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,linux,networking","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hackaday","item":"https://daily.dev/sources/hackaday"},{"@type":"ListItem","position":3,"name":"I Heard There Was A Secret Port…"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-heard-there-was-a-secret-port--fnrm3ivpf#faq","mainEntity":[{"@type":"Question","name":"What happens if you try to bind or connect to TCP port 0?","acceptedAnswer":{"@type":"Answer","text":"The Linux kernel does not actually give you port 0; requesting it returns a randomly allocated even port between 32768 and 61000. Forcing real traffic onto port 0 requires raw sockets or firewall rules like IPTables/NFTables port mapping. Many tools refuse it outright: BSD netcat and Telnet say the port is too small, browsers warn it's unsafe, and Python SSL raises an IO error. Python AsyncIO and socat work fine with it. Digging into TCP internals like this is easier to keep track of browsing daily.dev's networking coverage."}},{"@type":"Question","name":"How many hosts on the internet actually use TCP port 0?","acceptedAnswer":{"@type":"Answer","text":"About 0.25% of hosts globally, give or take, were found listening on TCP port 0, according to research by Acid Vegas. Most of these appear accidental, likely from network devices defaulting to a strange configuration that nobody noticed. Services found there include DropBear SSH, Telnet, HTTP router admin pages, RustDesk, and SMDR phone call logging. Developers curious about obscure networking edge cases like this can follow more on daily.dev."}}]}
```

