Description
WatchYourPorts is a web app that keeps an inventory of the open ports on your local servers. It scans the ports you watch at a set interval, shows their state on a web page, and keeps a history of recent port states. The interface can use any Bootswatch theme and a light or dark background. To import the ports of Docker containers, you run a provided script on a server with Docker, then paste its output into a hosts file in the WatchYourPorts config directory. You can add as many servers as you want. Configuration can be done through a config.yaml file, the web GUI or environment variables, covering the listen address, the web port, the scan interval in minutes and how many port states to keep. An optional export sends the data to InfluxDB2, with settings that match Grafana's InfluxDB data source. Access can be limited with ForAuth, and the README says SSO tools such as Authelia should work. It is aimed at homelab users and self-hosters who want to see which ports are open across their machines and chart that data in Grafana.…
Highlights
- Inventory of open ports across local servers
- Import ports from Docker containers
- Scheduled scans with port history
- Optional InfluxDB2 export for Grafana
- Login protection with ForAuth or SSO
Ratings & Reviews
No ratings yet
Be the first to rate WatchYourPorts.
People also visit
Portracker
An open source, self-hosted, real-time port monitoring and discovery tool
Portop
htop for your ports. Inspect processes, Docker & systemd, detect port drift
Dockpeek
Easily access your Docker container web interfaces and keep them up to date
Device Ports
DevicePorts helps developers discover, run, monitor, and manage local projects
WatchYourPorts FAQ
What is WatchYourPorts?
A web app that keeps an inventory of open ports on local servers and shows them on a page.
How do I add Docker ports?
Run the docker-export.sh script on a server with Docker, then paste its output into hosts.yaml in the config directory.
Can I send the data to Grafana?
Yes. It can export to InfluxDB2 with settings that match Grafana's InfluxDB data source.
How do I protect the web interface?
The README suggests ForAuth and says SSO tools such as Authelia should work.
How is it configured?
Through config.yaml, the web GUI or environment variables. The web port defaults to 8853.
What are the best WatchYourPorts alternatives?
Popular alternatives to WatchYourPorts include Portracker, Portop and Atlas. See all WatchYourPorts alternatives


