Ports, binaries and AI config lockdown index
Look up a port, a file or a setting, see what it should look like, and check it with one command. Each page starts with a specification table and links to the full guide.
Local AI servers
port 11434Port 11434: check whether Ollama is exposed to the networkCheck whether Ollama's API on port 11434 listens on 0.0.0.0, pin it to 127.0.0.1 with OLLAMA_HOST on Windows 11, macOS and a Linux systemd override, and block the port in the firewall.
- Windows
- Linux
- macOS
ports 3000 / 8080Open WebUI on ports 3000 and 8080: sign-ups, secret key and Docker bindingHarden Open WebUI on ports 3000 and 8080: publish it on 127.0.0.1 instead of 0.0.0.0, find exposed containers with docker ps, turn off sign-ups, set WEBUI_SECRET_KEY and keep the first administrator account yours.
- Windows
- Linux
- macOS
ports 1234 / 8188LM Studio port 1234 and ComfyUI port 8188: bind address and firewall rulesCheck whether LM Studio's server on port 1234 or ComfyUI on port 8188 listens beyond localhost, set --bind and --listen back to 127.0.0.1, and add Windows Defender Firewall rules by port or by executable path.
- Windows
- Linux
- macOS
port 8888Jupyter port 8888: check the token, password and ip settingCheck whether JupyterLab or Notebook on port 8888 listens on 0.0.0.0, find every running server and its token with jupyter server list, set a password, and see what turning the token off does.
- Windows
- Linux
- macOS
- Jupyter
port 7860Gradio port 7860 and share links: check server_name, share=True and authCheck whether a Gradio app on port 7860 listens on 0.0.0.0 through server_name or GRADIO_SERVER_NAME, whether share=True opened a public gradio.live link, and how to add auth or close both.
- Windows
- Linux
- macOS
port 8000vLLM port 8000: host binding, --api-key and the endpoints it leaves openvllm serve listens on every IPv4 interface on port 8000 unless --host says otherwise, and --api-key or VLLM_API_KEY guards only some paths. Check the binding, pin it to 127.0.0.1 and put a proxy in front.
- Linux
- Docker
ports 6333 / 6334 / 8000Qdrant ports 6333 and 6334, Chroma port 8000: check vector database exposureSelf-hosted Qdrant on ports 6333 and 6334 and a Chroma server on port 8000 have no authentication by default. Check what listens, publish Docker ports on 127.0.0.1, and set a Qdrant API key with TLS.
- Windows
- Linux
- macOS
- Docker
AI tool configuration
claude_desktop_config.jsonclaude_desktop_config.json and .cursor/mcp.json: audit your MCP serversFind claude_desktop_config.json and .cursor/mcp.json, list every MCP server and the command it runs, limit the filesystem server's allowed directories, spot command-execution servers and rotate keys stored in plain text.
- Windows
- Linux
- macOS
chrome://extensionsAI browser extensions: audit permissions and site access in Chrome, Edge and FirefoxFind the browser extensions that can read and change every site you open: Site access in chrome://extensions, Permissions and data in Firefox, <all_urls> in manifest.json on disk, and ExtensionSettings policies that block extensions or keep them off chosen sites.
- Windows
- Linux
- macOS
- Chrome
- Firefox
Remote access
MicrosoftCorporationII.QuickAssistQuick Assist on Windows 11: check, remove or block itQuick Assist (Ctrl+Windows+Q) is a remote-support app scammers ask people to open. Check whether the MicrosoftCorporationII.QuickAssist package is installed, uninstall it for all users, or block the endpoint it needs.
- Windows
ScreenConnect Client serviceScreenConnect, AnyDesk, TeamViewer and RustDesk: find and remove unauthorized remote accessFind remote-access tools a scammer or intruder left on a Windows PC: ScreenConnect Client services, AnyDesk, TeamViewer and RustDesk, in services, installed programs, scheduled tasks, Run keys and Startup folders; read their logs, then remove them.
- Windows
port 3389Remote Desktop port 3389: check whether it is on and reachable from the internetCheck whether Windows Remote Desktop listens on port 3389 (or a changed port), whether the internet can reach it through a router port forward or public IP, and how to turn it off or put it behind a VPN with Network Level Authentication.
- Windows
ports 5985 / 5986WinRM ports 5985 and 5986: check PowerShell remoting and turn it offCheck whether WinRM listens on ports 5985 and 5986 with Get-Service WinRM, winrm enumerate and Test-WSMan, see what Enable-PSRemoting changed, and turn PowerShell remoting off completely, beyond Disable-PSRemoting.
- Windows
Accounts and sessions
Login Data / CookiesInfostealer triage: browser passwords, session cookies and why a new password is not enoughWhat information-stealing malware copies from Chrome, Edge and Brave profiles (Login Data, Network\Cookies, Local Extension Settings), why changing a password alone can leave a stolen session working, and how to end every session from a clean device.
- Windows
- Linux
- macOS
Get-InboxRule -IncludeHiddenHidden inbox rules and forwarding in Microsoft 365, Outlook.com and GmailFind the inbox rules attackers hide in a taken-over mailbox: rules that forward mail out, delete it, or move invoices to the RSS folder and mark them read; mailbox SMTP forwarding; Gmail filters; and third-party apps with OAuth access.
- Microsoft 365
- Gmail
SMTP AUTH · port 587SMTP AUTH in Exchange Online: check whether it is on and turn it offCheck whether SMTP AUTH (authenticated SMTP on port 587) is on in Exchange Online with Get-TransportConfig and Get-CASMailbox, turn it off, and prepare for Basic authentication ending by default in December 2026.
- Microsoft 365
one alias per accountEmail aliases: one address per account to contain breachesGive each website account its own forwarding email alias with Proton Pass or SimpleLogin, so one breach does not hand attackers the sign-in name for every other account; keep registrar and bank addresses separate, and check every address in Have I Been Pwned.
- Have I Been Pwned
- a password manager
passkeys · recovery codesPasskeys and recovery codes: check where each passkey lives and keep a second way inFind where each passkey is stored and what a lost device costs, list the passkeys and security keys on Google, Microsoft and Apple accounts, keep recovery codes offline, back up Microsoft Authenticator and Google Authenticator, and check how many passkeys a YubiKey or Nitrokey holds.
- Windows
- a Google Account
- a Microsoft account
- iPhone
- a YubiKey
Windows
24H2 · build 26100Windows 11 24H2 end of updates: check your version and move to 25H2 or 26H2Windows 11 24H2 Home and Pro got their last update in October 2026. Check your version and build with winver or PowerShell, see why Windows Update may not offer 25H2 or 26H2 yet, and upgrade.
- Windows
port 445 · SMB1ProtocolSMB on port 445: check SMBv1, signing and internet exposure on WindowsCheck whether SMBv1 is enabled with Get-SmbServerConfiguration and Get-WindowsOptionalFeature SMB1Protocol, confirm SMB signing and guest access, and keep port 445 blocked from the internet on Windows 11.
- Windows
Get-MpPreferenceMicrosoft Defender exclusions and tamper protection: find, remove and lock downAttackers add Microsoft Defender exclusions so their tools are not scanned. Check Get-MpComputerStatus and Get-MpPreference, remove exclusions with Remove-MpPreference, turn tamper protection on, then update with Update-MpSignature and run Start-MpWDOScan.
- Windows
- Windows Security
Network exposure
ss -tulpnOpen-port self-audit: what listens on your computer and what the internet can reachList every listening port with ss -tulpn, lsof -i -P -n and Get-NetTCPConnection -State Listen, read 0.0.0.0 against 127.0.0.1, check ufw status numbered and Windows firewall rules, then test your public IP from outside.
- Windows
- Linux
- macOS
docker -p 0.0.0.0Docker published ports bypass UFW: check and fix -p 0.0.0.0A container published with docker run -p 8080:80 listens on every host address, and Docker's own firewall rules handle it before UFW sees the traffic. Find exposed containers with docker ps and republish them on 127.0.0.1.
- Linux
PasswordAuthentication noSSH password sign-in: check that PasswordAuthentication is really offCheck whether SSH on port 22 still accepts passwords: read the effective PasswordAuthentication, KbdInteractiveAuthentication and PermitRootLogin with sshd -T, override 50-cloud-init.conf and test from another computer.
- Linux
tailscale0 · wg0WireGuard and Tailscale addresses: bind SSH, databases and AI servers to them and keep them after a rebootBind SSH, PostgreSQL, Redis and Ollama to a wg0 or tailscale0 address instead of 0.0.0.0, and keep them listening after a reboot with systemd ordering, FreeBind=, net.ipv4.ip_nonlocal_bind or Tailscale's interface rules.
- Linux
UPnP · WPSHome router check: remote administration, UPnP, WPS, DNS and port forwardsCheck a home router: remote administration off, default password changed, firmware current and not end of life, UPnP mappings listed with upnpc -l and UPnP off, WPS off, DNS servers as you set them, port forwards reviewed, then a test from outside.
- Windows
- Linux
- router settings
port 23Telnet port 23: check whether anything listens, and turn it offCheck whether a Telnet server listens on port 23: ss on Linux, Get-NetTCPConnection on Windows and an nc test from another network; then remove inetutils-telnetd, turn Telnet off on routers and switches and delete port forwards.
- Windows
- Linux
Websites
User-agent: GPTBotAI crawler user agents in robots.txt: which token blocks training, search or user fetchesBlock AI crawlers in robots.txt with the user-agent tokens each company documents, from GPTBot and ClaudeBot to Google-Extended and Applebot-Extended, and see which control training, search or user fetches.
- Windows
- Linux
- macOS
/.git/config · /.envExposed .git and .env files: check whether your website serves them, and block dotfilesCheck whether your website serves /.git/config, /.env or other dotfiles with curl and status codes, then block them with Apache DirectoryMatch and FilesMatch rules or an nginx location with deny all, and test the rules.
- Windows
- Linux
- macOS
v=DMARC1SPF, DKIM and DMARC: check the records that tell receivers who may send as your domainCheck a domain's SPF, DKIM and DMARC records with dig, Resolve-DnsName or nslookup: one v=spf1 record within 10 DNS lookups, DKIM selectors for Microsoft 365 and Google Workspace, a _dmarc policy that moves from p=none to reject, and three records for domains that send no mail.
- Windows
- Linux
- Microsoft 365
- Gmail
Self-hosted services
port 5678n8n on port 5678: claim the owner account, back up the encryption key, keep Execute Command blockedA new n8n instance gives its owner account to whoever signs up first. Check port 5678 and the owner, back up the encryption key in .n8n/config, keep the default NODES_EXCLUDE entries and keep /metrics private.
- Linux
- n8n
- Docker
/var/run/docker.sockPortainer and the Docker socket: ports 9443, 9000 and 8000, the first administrator, and root on the hostA container that mounts /var/run/docker.sock can control Docker and, through it, the host as root. Find those containers, read Portainer's ports 9443, 9000 and 8000, create the first administrator inside the 5-minute window with the setup token, and publish the interface on 127.0.0.1.
- Linux
port 8123Home Assistant port 8123: check remote access, IP bans, sign-in and tokensHome Assistant listens on every address, on port 8123 or, on Home Assistant OS installed from 2026.8, port 80. Close router port forwards, use Home Assistant Cloud, a VPN or a trusted proxy, set an IP ban threshold, turn on multi-factor authentication and audit tokens.
- Linux
- Home Assistant
port 8006Proxmox VE port 8006: limit the web interface, turn on the firewall, add a second factor for root@pamProxmox VE's web interface on port 8006 carries the whole API and listens on every address. Limit it with ALLOW_FROM or LISTEN_IP in /etc/default/pveproxy, turn on the firewall with a management IP set, give root@pam TOTP or WebAuthn and recovery keys, and audit API tokens.
- Proxmox VE
ports 5000 / 5001Synology and QNAP NAS on the internet: ports 5000 and 5001, QuickConnect, myQNAPcloud and UPnPFind every path from the internet to a NAS sign-in page: DSM on ports 5000 and 5001, QTS on 8080 and 443, router port forwards, UPnP rules, QuickConnect and myQNAPcloud. Close them, disable the admin account and keep snapshots for ransomware recovery.
- router settings
- Synology
- QNAP
port 8443Port 8443: UniFi Network, Tomcat, Jetty and other web consoles on the alternative HTTPS portPort 8443 is the HTTPS port of a self-hosted UniFi Network Application and of Tomcat, Jetty, Plesk and Keycloak: find the process with ss or Get-NetTCPConnection, test from outside with curl, read the certificate with openssl, then bind or firewall it.
- Windows
- Linux
Databases
port 6379Redis and Valkey port 6379: check bind, protected mode and passwordsA Redis or Valkey server that other machines reach without a password gives them every key and, on older versions, a way to write files. Check bind, protected-mode and ACL LIST, keep port 6379 on 127.0.0.1 and sign apps in as ACL users.
- Linux
- redis-cli
ports 5432 / 3306PostgreSQL port 5432, MySQL ports 3306 and 33060: check where the database listensCheck which addresses PostgreSQL, MySQL and MariaDB listen on: listen_addresses and trust rules in pg_hba.conf, bind-address and mysqlx-bind-address in mysqld.cnf or MariaDB's 50-server.cnf, then confirm with ss -tlnp.
- Linux
- PostgreSQL
- MySQL
ports 27017 / 9200MongoDB port 27017, Elasticsearch ports 9200 and 9300: check binding and sign-inMongoDB listens on localhost but checks no passwords until security.authorization is enabled. Elasticsearch 8.0 and later turn security on at first start, but open the HTTP API on 0.0.0.0. Check bindIp, http.host and xpack.security.enabled.
- Linux
- MongoDB
- Elasticsearch
Privacy and personal data
port 853 · DoHEncrypted DNS: check DNS over HTTPS and DNS over TLS on port 853Check whether DNS lookups leave encrypted: pktmon on Windows 11, resolvectl status and DNSOverTLS= on Linux, a DNS Settings profile on macOS, secure DNS in Chrome, Edge and Firefox, and new-domain blocking in NextDNS and Control D.
- Windows
- Linux
- macOS
- Chrome
- Firefox
RDAP / WHOISWHOIS, RDAP and phone number exposure: audit what your domains and number revealCheck what RDAP and WHOIS publish about each domain you hold, with ICANN Lookup, CIRA's WHOIS, whois and curl, then lock your mobile number against SIM swaps and port-outs and remove data broker listings in Canada and the United States.
- Linux
- a browser
- a search engine
Keys and encryption
ed25519-skHardware SSH keys: ed25519-sk on a FIDO2 security key, with a backup keyMake SSH keys that only work with a FIDO2 security key and its PIN: ssh-keygen -t ed25519-sk -O verify-required, resident keys fetched with ssh-keygen -K, sk-ssh-ed25519@openssh.com in PubkeyAcceptedAlgorithms, and a second key on every server.
- Windows
- Linux
- macOS
manage-bde -statusDisk encryption check: BitLocker, LUKS and FileVault, and where the recovery key isCheck that the system disk is encrypted and that its recovery key is stored away from the computer: manage-bde -status and Get-BitLockerVolume on Windows 11, lsblk -f, cryptsetup status and luksDump on Linux, fdesetup status on macOS.
- Windows
- Linux
- macOS
Linux servers
systemctl --failedSilent failures on an Ubuntu server: failed units, unattended upgrades, certbot and pending restartsFind the failures an Ubuntu server does not announce: systemctl --failed, the unattended-upgrades log and a dry run, certbot.timer and certbot renew --dry-run, /var/run/reboot-required and reboot-required.pkgs, and needrestart.
- Linux
authorized_keysUnknown SSH keys: list every key that can sign in, match fingerprints and remove the restFind every key that can sign in over SSH: AuthorizedKeysFile and AuthorizedKeysCommand in sshd -T, fingerprints from ssh-keygen -lf, key options, Accepted publickey lines in the journal and cloud-init's keys, then remove unknown keys safely.
- Linux
crontab -l · list-timersLinux persistence: check cron, systemd timers and services, at jobs and start-up filesFind code set to run on a schedule or at start-up on Ubuntu: crontabs, systemctl list-timers --all, enabled units and drop-ins, atq, /etc/rc.local, shell start-up files and /etc/ld.so.preload, then check them with dpkg -S and dpkg --verify.
- Linux
How to read these pages
- Every page starts with a technical specification table: what the item is, how it behaves by default, what the safe state looks like, the commands that check it and the fix.
- The label in each command block says where it runs, for example "Windows PowerShell, as Administrator". Commands for each system sit in folding sections; open the one you need.
- Words in capitals, such as
SERVER_IP, are placeholders for your own values. - Each page lists its sources and the date it was last checked. Settings and version numbers change; check the source if a page is more than a few months old.