A step-by-step guide for running your own Speakeasy server at home so your friends can join it. It covers the Windows installer and automatic DNS through DuckDNS or dynv6 (free names) or Cloudflare (your own domain).
Written for Speakeasy Self Host 0.0.2-rc.5. Values such as yourname.duckdns.org and you@example.com are examples. Use your own.
The installer links to this guide on its first and last pages: speakeasy.im/docs/install-server-windows.
What you will end up with
- Your Windows PC runs Speakeasy Self Host as a background Windows service. It starts by itself whenever the PC starts.
- Your server has a web address such as
yourname.duckdns.org. The server checks your home internet address every 15 minutes and tells your DNS provider when it changed (and every few hours anyway), so the name still works when your internet provider changes that address. - The server gets its own security certificate from Let's Encrypt automatically, and renews it.
- Friends add your address in the Speakeasy app and connect.
Before you start
You need:
- A Windows 10 or 11 PC (64-bit) that stays on while friends use the server, and an administrator account on it. The installer needs at least 310 MB of free disk space. Your messages and files are stored on this PC, so leave more room than that.
- Access to your home router's settings page, so you can forward ports (Step 12).
- A DNS provider account: DuckDNS (easiest) or dynv6 for a free name, or Cloudflare for a domain you own. See the comparison below.
- An email address for the administrator account. The same address is given to Let's Encrypt as the certificate contact.
Two quick checks will save you trouble later:
- Give the PC a fixed address on your home network. In your router, look for DHCP reservation, Address reservation or Static lease and reserve the PC's current address. Port forwarding points at that address, so it must not change.
- Make sure your internet connection can accept incoming connections. Some providers put many customers behind one shared address (called CGNAT). Port forwarding cannot work then. To check, compare the WAN / Internet IP on your router's status page with the address a site like "what is my IP" shows. If they differ, or the router shows an address starting with
100.64to100.127, you are probably behind CGNAT. Ask your provider for a public IPv4 address before you continue.
Which provider should I pick?
| DuckDNS | dynv6 | Cloudflare | |
|---|---|---|---|
| Cost | Free | Free | Free plan; you pay only for your own domain at a registrar |
| Address you get | name.duckdns.org |
name.dynv6.net, or a name under another free dynv6 domain such as v6.rocks or dns.army |
Your own domain, such as chat.yourdomain.com |
| Sign-up | Sign in with Google, GitHub, Twitter, reddit or Persona | Email address and password, then a confirmation email | Email address and password, then you add your domain |
| Setup time | About 2 minutes | About 5 minutes | Longer: you point your domain at Cloudflare's name servers and wait until it is Active (up to 24 hours) |
| Token | One account token that controls all your DuckDNS names | HTTP tokens you create on the Keys page; one can be limited to a single zone | An API token you create, limited to one domain |
| Conditions | None stated | "Don't use it for critical services": no uptime guarantee. Its terms allow it to delete inactive accounts, "in particular accounts whose IP addresses do not change regularly", which describes many home connections | The record must stay DNS only (grey cloud); the server sets that itself |
| Installer default | Yes | No, select it on the provider page | No, select it on the provider page |
Pick DuckDNS unless you already own a domain. dynv6 is a second free choice if you accept its conditions; signing in to dynv6 now and then may keep the account active, but dynv6 does not say so. If you own a domain, use Cloudflare. The installer handles all three the same way: address updates and certificates are automatic, and none of them needs port 80 open.
Step 1A: Get a DuckDNS name and token
-
Open duckdns.org and sign in with one of the buttons at the top right (Persona, Twitter, GitHub, reddit or Google).
-
After you sign in, find the box for adding a domain, type a name (for example
yourname) and add it. Your server's address becomesyourname.duckdns.org. - Copy your token from the top of the page. It is a long code made of letters, digits and dashes. Treat it like a password: anyone who has it can change all your DuckDNS names.
- You don't need DuckDNS's own update program. Speakeasy updates your address itself.
DuckDNS's technical documentation is on its spec page. You don't need it for this guide.
Step 1B: Or get a free dynv6 name and token
Do this only if you chose dynv6. dynv6 is run by Digineo GmbH in Germany. Before you rely on it, read the two conditions in the provider comparison above: no uptime guarantee, and accounts it sees as inactive may be deleted.
-
Open dynv6.com and click Sign up at the top right.
-
Enter your email and a password (at least 8 characters) twice and click Sign up. Then click the confirmation link that dynv6 emails you. Unconfirmed accounts are deleted after 14 days.
-
Sign in with your email and password.
dynv6 then asks you to Create your first Zone (a zone is dynv6's name for your address). Type a name of 5 to 20 characters (letters, digits and dashes), pick one of the free domains, for example dynv6.net, and click Create Zone. You can leave the IPv4 and IPv6 boxes empty: the server fills in your address.
-
My Zones now lists your zone, for example
yourname.dynv6.net. Not configured and never are expected: the server sets the address once it runs. -
Open the Keys page (dynv6.com/keys). Under HTTP Tokens, click Details next to your token. Click Copy next to the token and keep it for the installer. Treat it like a password: Zone(s): all means it can change every zone in your account.
-
You don't need dynv6's own update tools, or the snippets on its Instructions tab. Speakeasy updates your address itself, and only sends an update when your address changed (and every few hours anyway).
- In the installer, enter the zone name exactly as dynv6 shows it (
yourname.dynv6.net) and paste the token.
Step 1C: Or use your own domain with Cloudflare
Do this only if you own a domain and its DNS is (or will be) on Cloudflare. The free plan is enough. Cloudflare keeps your domain's records; Speakeasy creates and updates the address record for your server name itself.
- Create a free Cloudflare account from cloudflare.com.
- Add your domain: enter it, pick the Free plan and review the DNS records Cloudflare imported.
- At your domain registrar, turn off DNSSEC if it is on, then replace the domain's name servers with the two Cloudflare shows, copied exactly. Wait until Cloudflare emails you that the domain is Active. This can take up to 24 hours.
-
Decide your server's name, for example
chat.yourdomain.com. You don't need to create its record: the server creates it. If you create it yourself, set it to DNS only (grey cloud), never Proxied. Voice and video cannot pass through Cloudflare's proxy, so the server switches a proxied record back to DNS only. Cloudflare explains the two settings on its Proxy status page. -
Open My Profile > API Tokens (dash.cloudflare.com/profile/api-tokens), click Create Token and use the Edit zone DNS template.
- Permissions: keep Zone · DNS · Edit and add Zone · Zone · Read.
- Zone Resources: Include · Specific zone · your domain (
yourdomain.com), so the token can only change that one domain. - You can set an expiry date, but the server can no longer renew its certificate once the token expires.
-
Click Continue to summary, then Create Token, and copy the token: Cloudflare shows it only once.
Cloudflare's own instructions are on its Create API token page.
-
In the installer, choose Cloudflare, enter the full server name (
chat.yourdomain.com) and paste the token. Port 80 is not needed.
Step 2: Download and start the installer
- Download the installer,
Speakeasy-Self-Host-0.0.2-rc.5-Setup.exe, from speakeasy.im. - Double-click it. Windows may warn you first:
- "Windows protected your PC" (SmartScreen): click More info, then Run anyway.
- User Account Control ("Do you want to allow this app to make changes?"): click Yes. The installer needs administrator rights to create the Windows service and its firewall rules.
Step 3: Choose the install folder
Keep the default, C:\Program Files\Speakeasy Self Host, and click Next. Your server data is stored separately, in C:\ProgramData\SpeakeasySelfHost.
The link Open the step-by-step install guide at the bottom left opens this guide in your browser. The installer's last page has the same link.
Step 4: Domain setup
Choose Set up my address for me (free name, or my own domain on Cloudflare) (the default) to use DuckDNS, dynv6 or Cloudflare, then click Next.
I have a domain and manage its DNS records myself is for advanced users whose domain already points at their home address, and who keep it up to date themselves. This path asks for the domain on the account page (below) and gets the certificate through port 80, so port 80 must be forwarded to this PC before you install. If your domain's DNS is on Cloudflare, choose the first option and then Cloudflare instead: that needs no port 80.
Step 5: Pick your DNS provider
Choose DuckDNS, dynv6 or Cloudflare and click Next. DuckDNS is selected to begin with.
Step 6: Enter your domain and token
- Domain: the full name. The example above the box changes with the provider you chose:
yourname.duckdns.orgfor DuckDNS (with DuckDNS you can also type justyourname),yourname.dynv6.netfor dynv6 (the zone name exactly as dynv6 shows it), orchat.yourdomain.comfor Cloudflare (the server's full name inside your own domain). Don't typehttps://or a port. - DDNS token: paste the token from Step 1. Dots appear instead of the token.
The button above the boxes (Open DuckDNS Sign-In Page, Open dynv6 Sign-In Page or Open Cloudflare API Tokens) opens the provider's website in your browser, in case you still need to sign up or create the token. The text under the token box says where to find the token. Click Next when both boxes are filled.
If something is missing or the name has the wrong form, a red message under the boxes says what to fix, and the installer stays on the page.
Step 7: Create the administrator account
Enter the Admin email and a password twice. This is the account you sign in with in the Speakeasy app, and it controls the server. The email is also sent to Let's Encrypt as the certificate contact. The password must be 8 to 128 characters long; use a strong one.
Step 8: Choose the database
Keep Simple (SQLite). Nothing else needs to be installed, and everything is stored in one file on this PC. Advanced (Postgres) is only for people who already run a PostgreSQL server: it asks for Host, Port (5432), Database, Username and Password.
Step 9: Bootstrap and service options
Leave all three boxes ticked:
- Attempt automatic router mapping: asks your router (through UPnP) to open the needed ports. Many routers have UPnP turned off. That's fine: Step 12 shows how to do it by hand.
- Create the Windows background service now: installs the server as the Windows service Speakeasy Self Host.
- Start the Windows background service now: starts it right away. Before starting, the server updates your address at your DNS provider and gets its certificate. The installer then waits until the server answers, which can take up to 15 minutes.
Step 10: Install
Click Install on the Ready to Install page.
The installer copies the files, then configures and starts the server. The progress bar can sit at full while the server starts and gets its certificate. Let it finish.
Setup also opens the server's ports in Windows Defender Firewall. It adds inbound rules in the group Speakeasy Self Host (SpeakeasySelfHost) for the HTTPS port and the media ports, on all network types (Private and Public), and removes any rules that would block the server's programs. If setup cannot create the rules, for example on a PC whose firewall is managed by an organisation, it tells you and keeps going; see Messages at the end of the installation.
While setup runs, Windows may still show a Windows Security Alert saying it has blocked some features of Node.js JavaScript Runtime. Click Cancel: setup's own rules already let the server through.
When setup ends you see the finish page. It shows:
- whether the server runs as a Windows service,
- the address for the Speakeasy app (your domain and port, such as
yourname.duckdns.org:8443) and the admin page, - the ports to forward on your router (Step 12),
- where that list is saved: C:\Program Files\Speakeasy Self Host\PORTS-TO-FORWARD.txt.
Write down the address and ports, or open the file later in Notepad. Click Finish. If a message box appears before the finish page, see Troubleshooting.
The Start Menu now has a Speakeasy Self Host folder with two shortcuts: Configure Speakeasy Self Host (runs the setup questions again) and Uninstall Speakeasy Self Host.
Step 11: Check that the server is running
Press Start, type Services and open the Services app. Find Speakeasy Self Host. Startup Type should be Automatic and Status should be Running.
If Status is empty, select the service and click Start the service on the left. If it stops again, see Troubleshooting.
Step 12: Forward the ports on your router
Friends' apps connect to your home address. Your router has to pass those connections to this PC.
1. Find your ports. They are on the installer's finish page and in C:\Program Files\Speakeasy Self Host\PORTS-TO-FORWARD.txt (open it in Notepad). For example:
- TCP 8443: the app, sign-in and chat (HTTPS). It is usually 8443. If 8443 is already taken on your PC, setup picks another port, so use the number from your own list.
- UDP and TCP from 44444 up: voice, video and screen sharing. The server runs one media worker for every two CPU threads, and each worker uses the next port, so the range depends on your PC.
- Port 80 is not needed with DuckDNS, dynv6 or Cloudflare: certificates are proven through DNS instead. Port 80 only matters with I have a domain and manage its DNS records myself, and then the list includes it.
2. Open your router's settings page. Type its address into a browser: usually the Default Gateway shown by ipconfig in a Command Prompt (often something like 192.168.0.1 or 192.168.1.1). Sign in with the password printed on the router, or the one you set.
3. Add the forwarding rules. The menu is usually called Port Forwarding, Virtual Server, NAT, Gaming or Applications. For each port or range, create a rule that sends it to your PC's fixed address (see "Before you start"), with the same port number on both sides and the right protocol (TCP, UDP, or "Both"). Many routers accept a range such as 44444–44449 in one rule.
4. Check it in a browser. On a device outside your home (for example a phone with Wi-Fi turned off), open the server's sign-in page: your address from the finish page followed by /auth/login, such as https://yourname.duckdns.org:8443/auth/login. It should open with a padlock in the address bar, which means the certificate is valid. To use the admin page, sign in there with the admin email and password, then open the admin page address from the finish page. Opening the admin page before you sign in shows only {"error":"Not authenticated"}.
Why the automatic router mapping might not have worked:
- UPnP is off. Many routers ship with UPnP disabled, or users turn it off for security. Forward the ports by hand as above.
- Double router. If your provider's modem is also a router and you have your own router behind it, ports must be forwarded on both, or the modem put in bridge mode.
- CGNAT. If your provider shares one public address between customers (see "Before you start"), no router setting helps. Ask the provider for a public IPv4 address.
Step 13: Connect with the Speakeasy app
- Install the Speakeasy app from speakeasy.im and open it.
- On Add a server to get started, fill in:
- Name: anything, for example Friends server.
- Host: your domain, for example
yourname.duckdns.org(nohttps://). You can also type the whole address from the finish page, such asyourname.duckdns.org:8443. - Port: already filled in with 8443. Change it only if your finish page shows another port.
- Click Add Server and sign in with the admin email and password from Step 7. The rooms of your server appear, and clicking the server's letter on the left shows Connected.
Test from outside your home. Some routers don't let devices inside your home reach your public address (missing "hairpin NAT"). If the app fails on your own PC, try a laptop on a phone hotspot, or ask a friend.
Step 14: Invite your friends
Send friends the Speakeasy download link and the address for the Speakeasy app from the finish page (for example yourname.duckdns.org:8443). They create their own account on your server from the app. New sign-ups are active immediately by default. To approve each account by hand, turn on manual approval in the admin panel's settings.
Keep the PC on and stop it from sleeping (Settings > System > Power & sleep > Sleep: Never when plugged in). After a restart, for example for Windows updates, the server starts by itself.
Running the installer again
Run the installer again to repair the server or to install a newer version. It keeps your settings, accounts and messages, and skips the setup questions. Before it offers to reinstall, it shows your server's address and the ports to forward, and where that list is saved. Click Next, then Install.
To change the domain, provider or token instead, use Start Menu > Speakeasy Self Host > Configure Speakeasy Self Host. If Configure changes a port, run the installer again afterwards to refresh PORTS-TO-FORWARD.txt.
Troubleshooting
Start with the logs in C:\ProgramData\SpeakeasySelfHost\logs\:
bootstrap-install.log: what setup did, the port list and the reason the server could not start.upgrade-install.log,upgrade-message.txt: the installer's final step.SpeakeasySelfHost.wrapper.log: the Windows service wrapper.firewall-rules.log,firewall-rules-warning.txt: the Windows Firewall rules (the warning file exists only when setup could not create them).
Don't open or "repair" the database (
C:\ProgramData\SpeakeasySelfHost\data\database.sqlite) with other SQLite tools.
Messages on the installer pages
These appear in red under the boxes on the page.
| Message | What to do |
|---|---|
| Domain is required. | Fill in the domain on the Domain provider setup page (or Domain on the own-domain page). |
| Enter your DuckDNS name, such as yourname.duckdns.org or just yourname. … | Use only letters, digits and dashes, with or without .duckdns.org. |
| Enter the full zone name from your dynv6 account, … / Enter the full server name in your own domain on Cloudflare, … / Enter the full domain, … | Type the whole name, such as yourname.dynv6.net or chat.yourdomain.com, without https:// or a port. |
| DDNS token is required. | Paste your provider token (Step 1). |
| Admin email is required. / Admin password is required. | Fill in both on the Self-host configuration page. |
| The admin password must be at least 8 characters long. / … at most 128 characters long. | Choose a password of 8 to 128 characters. |
| Admin password and confirmation must match. | Type the same password in both password boxes. |
| PostgreSQL host / port / database / username / password is required. | Only with Advanced (Postgres): fill in every box, or go back and pick Simple (SQLite). |
Messages at the end of the installation
- "The installer copied the app payload and bootstrap wrote runtime state under C:\ProgramData\SpeakeasySelfHost. A later step failed, most likely Windows service registration or startup (exit code …)." Setup finished but the server did not start. Open
bootstrap-install.logand look near the end for the reason (see the next section). After fixing it, start the service from the Services app (Step 11), or run Start Menu > Speakeasy Self Host > Configure Speakeasy Self Host. - "Self-host bootstrap failed with exit code …" or "Self-host bootstrap could not be launched." Setup itself failed. The files are installed. Check
bootstrap-install.logand run Configure Speakeasy Self Host. - "The Windows Firewall rules could not be created: …" or "Group policy on this PC ignores firewall rules created on the PC …" Setup finished and the server runs, but Windows Firewall may stop friends from reaching it. This happens, for example, on a PC whose firewall is managed by an organisation. The message lists each port and program to allow; the same text is saved in
C:\ProgramData\SpeakeasySelfHost\logs\firewall-rules-warning.txt, and the finish page names that file. Allow those inbound ports in Windows Defender Firewall with Advanced Security > Inbound Rules > New Rule…, or ask whoever manages the PC's firewall to open them. - "install stopped: EPERM: operation not permitted, rename '…\next' -> '…\app'. Run the installer again; it resumes the interrupted attempt." Click OK and Finish, then run the installer again and give the same answers.
- "First setup did not become healthy. … Run a complete repaired installer to replace the failed payload." The server did not answer within the waiting time (15 minutes). Check the log, then run the installer again.
Why the server will not start (in bootstrap-install.log)
The server refuses to start without a valid certificate. The log then contains "Startup TLS preflight failed with exit code … Service start was skipped." and, above it, a sentence that starts like one of these:
| Start of the message | Meaning and fix |
|---|---|
| The certificate authority did not issue a certificate for yourname… | Let's Encrypt could not verify your domain. The text continues: "This is often temporary (network, DNS not updated yet, or the authority's rate limit). Check that the DNS provider token is current and that the domain belongs to that provider account, then start the server again." Check the token and domain, wait a while, and start the service again. |
| No server domain is configured / No certificate contact email is configured | Run Configure Speakeasy Self Host and enter the domain and email. |
| The configured DNS provider cannot validate the certificate | Run Configure and pick DuckDNS, dynv6 or Cloudflare. |
| The certificate client could not be found | Installed files are missing. Run the installer again. |
The detail after the colon says which part failed. Messages from the DNS step of the certificate request look like the ones below. They may also show up in C:\ProgramData\SpeakeasySelfHost\logs\win-acme\ or as the error value in C:\ProgramData\SpeakeasySelfHost\config\tls-state.json.
| Detail in the log | Meaning and fix |
|---|---|
| DuckDNS TXT update failed: KO | DuckDNS rejected the token or the name. Check that the token is current (DuckDNS can create a new one) and that the name is in your DuckDNS account. |
| Timed out waiting for TXT propagation for _acme-challenge.… | DuckDNS took longer than 2 minutes to publish the check record. Start the service again later. |
| dynv6 API … failed with HTTP 401 (check the dynv6 token) | The dynv6 token is wrong or deleted. Copy it again from dynv6's Keys page (Step 1B) and run Configure. |
| dynv6 has no zone for _acme-challenge.… / dynv6 has no zone named … | The name is not a zone in your dynv6 account, or the token is limited to another zone. Enter the zone name exactly as dynv6 shows it. |
| Timed out waiting for authoritative dynv6 TXT propagation … | dynv6 took longer than 2 minutes to publish the check record. Start the service again later. |
Cloudflare zone not found for …: the token needs Zone Read on this zone, and the domain must be active on Cloudflare. (or Cloudflare zone not found for DDNS sync. in ddns-state.json) |
The token lacks Zone · Zone · Read for this domain, or the domain is not Active on Cloudflare yet (Step 1C.3). |
| Cloudflare request failed with HTTP 403 (the token needs DNS Edit on this zone) | The token lacks Zone · DNS · Edit, or it is limited to another domain. Create a new token (Step 1C.5) and run Configure. |
| Timed out waiting for authoritative Cloudflare TXT propagation … | Cloudflare took longer than 2 minutes to publish the check record. Start the service again later. |
Let's Encrypt limits how many attempts you can make per hour. After several failures, wait an hour before trying again.
The app cannot connect
- Port: use the port from the finish page or PORTS-TO-FORWARD.txt (usually 8443) in the app's Port box, or type
yourname.duckdns.org:8443as the Host. - Address: in a Command Prompt, run
nslookup yourname.duckdns.org(with your own name). It should show your home's public address. If it doesn't, the server can't update your DNS provider: check the token and that the service is running. The last update result is inC:\ProgramData\SpeakeasySelfHost\config\ddns-state.json. With Cloudflare, Multiple A records exist for the requested name. there means you should delete the extra A records for that name in the Cloudflare dashboard. - Port forwarding: check the TCP rule for the HTTPS port (Step 12). Test from outside your home.
- Firewall: on the server PC, open Windows Defender Firewall with Advanced Security > Inbound Rules and check that the rules in the group Speakeasy Self Host (SpeakeasySelfHost) are there and enabled. If they are missing, run the installer again: it creates them again. If
firewall-rules-warning.txtexists in the logs folder, open the ports it lists by hand.
You can join a room but hear nothing
Voice, video and screen sharing use the media ports (UDP 44444 and up), not the HTTPS port. If joining works but there is no sound, those ports are almost certainly not forwarded, or UDP is blocked. Check every port in PORTS-TO-FORWARD.txt.
Uninstalling
- Open Start Menu > Speakeasy Self Host > Uninstall Speakeasy Self Host, or Settings > Apps.
-
Answer the first question carefully. Yes permanently deletes everything in
C:\ProgramData\SpeakeasySelfHost: certificates, the SQLite database with all accounts and messages, settings and logs. No keeps them for a later reinstall. -
Confirm the removal.
-
The uninstaller removes the Windows service, the Windows Firewall rules and PORTS-TO-FORWARD.txt. Clean up the rest by hand:
- Remove the port forwarding rules from your router.
- Delete the name at DuckDNS, the zone and token at dynv6, or the API token at Cloudflare (My Profile > API Tokens), if you no longer need them.







































