Vault API and UI. 8201 is used for cluster traffic.
Vault API and UI. 8201 is used for cluster traffic.
Expose only to trusted sources. Vault holds your secrets; restrict network access to the clients that need it, use TLS, and never run a dev-mode server (in-memory, root token printed) outside a laptop.
sudo ss -tlnp 'sport = :8200'sudo lsof -nP -i :8200sudo netstat -tlnp | grep ':8200 'netstat -ano | findstr :8200Get-NetTCPConnection -LocalPort 8200 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 8200Test-NetConnection HOST -Port 8200Replace 203.0.113.10 with the address or network you trust. With ufw, make sure the default incoming policy is deny.
sudo ufw allow from 203.0.113.10 to any port 8200 proto tcpsudo iptables -A INPUT -p tcp --dport 8200 -s 203.0.113.10 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 8200 -j DROPsudo nft add rule inet filter input ip saddr 203.0.113.10 tcp dport 8200 accept
sudo nft add rule inet filter input tcp dport 8200 dropNew-NetFirewallRule -DisplayName 'TCP 8200 trusted' -Direction Inbound -Protocol TCP -LocalPort 8200 -RemoteAddress 203.0.113.10 -Action AllowAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.