Connection issues

A connection problem usually means STYD cannot reach your database or cannot sign in with the details provided. These are the usual causes and what to check.

Common causes

Wrong host, port, database name, username, or password.
The database is not reachable from where STYD runs.
A firewall, security group or hosting rule only allows approved addresses.
The database user is not allowed to connect from outside your network.
The server and STYD could not set up the secure (TLS) connection.
The address is localhost or on a private network: STYD Cloud cannot reach it.
The name goes through Cloudflare’s proxy, which cannot carry database connections.

Your server blocks STYD

STYD Cloud connects to your database from two fixed addresses: 109.123.235.222 (IPv4) and 2407:3640:2324:5796::1 (IPv6). If your server uses a firewall, a security group or a hosting provider’s rules, allow both. The test then says STYD could not reach your database and lists these addresses.

  • Cloudflare: a name in front of Cloudflare’s proxy cannot carry database connections. Use a DNS-only name, or the server’s own address.
  • Localhost and private networks: STYD Cloud cannot reach a database that only has a localhost or private-network address (for example 10.x, 192.168.x), and there is no SSH tunnel option. Expose the database on a public address with the firewall limited to the two addresses above. A custom, private installation can reach a database inside your own network: see Custom AI.

What to check

Re-enter and verify the credentials carefully.
Confirm the database accepts connections from the two STYD addresses.
Confirm a read-only database user can connect.
Confirm the database type and port match (for example PostgreSQL or MySQL).
Test against a non-production or staging database where possible.
The Connections section has step-by-step setup, the test action, and a list of common connection error categories.

When to contact STYD

If your database is on a private network and you are unsure how to make it reachable, or the connection keeps failing after these checks, contact STYD so the setup can be reviewed for your environment.