Community AlphaAlpha MUADMINS
ENEnglish
Sign in
On MuADMINSConfig ScannerDrop your files zip: rates, drops, spots, limitsOpenOn MuADMINSMeet us on DiscordAsk for help, share what you are building and talk MU with other server owners.Open
← All solutions
WebsiteSeason 6

WebEngine on web hosting says "Could not connect to database (1)"

✓ Confirmed by the topic starter

Shared web hosting often blocks outgoing connections to port 1433, the default SQL Server port, so the website cannot reach the database on your VPS even when tools on your own PC can.

  1. On the VPS open SQL Server Configuration Manager > SQL Server Network Configuration > Protocols > TCP/IP > IP Addresses and, under IPAll, set TCP Port to a port your hosting allows (the topic starter used 3306).
  2. Restart the SQL Server service.
  3. Allow the new port as inbound TCP in the VPS firewall, ideally only from your hosting's IP address.
  4. Use the new port in the WebEngine database settings and reload the site.

The topic starter confirmed that this worked.

Original words (Spanish)

“Cambié el puerto del SQL al "3306" y pude conectarme. El problema era que desde el hosting no me permitía conectarme al 1433 como bien lo dices en tu guía. Tema solucionado, gracias.”

The topic starter, 2021-02-07 (original words)
TUServerMU · 2021-02-07
Did this help?

Still stuck? Search MuGPS Ask the MU Assistant

MuADMINS Community Alpha: free and community made, in active development.