This page is generated from the scanner's own catalogue. A fuller explanation — how to check it yourself, and fixes for common platforms — is being written.
In short
A port scan of the target host found an open port for a database service (MySQL, PostgreSQL, MSSQL, Redis, MongoDB, or Elasticsearch). Database services should never be reachable directly from the public internet, as they are prime targets for credential brute-forcing, data theft, and ransomware. An exposed database often indicates a misconfigured firewall or security group.
How to fix it
Bind the database to a private interface and block its port at the firewall; allow access only from trusted application hosts or via a VPN.
Fix it with your coding agent
Prompt for Claude Code, Cursor or Codex
An Ingati scan of my website reported “Database service port exposed to the internet” (finding network-recon/database_port_exposed, severity critical). Find where this comes from in this codebase or the server configuration, fix it, and explain what you changed. The scanner's guidance: Bind the database to a private interface and block its port at the firewall; allow access only from trusted application hosts or via a VPN. Then tell me how to confirm the fix, so the next scan shows it as fixed.
How Ingati finds it
This is one of the Reconnaissance and exposure checks, and it runs on every scan. When Ingati finds the problem, your report lists it as critical, with where it was found and what the scanner saw. Later scans show it as fixed once it is gone.
Ingati checks this and thousands of other things on every scan.
Start scanning