Community AlphaAlpha MUADMINS
FILFilipino
Mag-sign in
Sa MuADMINSConfig ScannerI-upload ang zip ng mga file mo: rate, drop, spot, limitBuksanSa MuADMINSMakipagkita sa amin sa DiscordHumingi ng tulong, ibahagi ang ginagawa mo at makipag-usap tungkol sa MU sa ibang may-ari ng server.Buksan
← Lahat ng solusyon
WebsiteSeason 6

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

✓ Kinumpirma ng nagsimula ng topic

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.

Kinumpirma ng topic starter na gumana ito.

Orihinal na salita (Espanyol)

“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.”

Ang nagsimula ng topic, 2021-02-07 (orihinal na salita)
TUServerMU · 2021-02-07
Nakatulong ba ito?

Naipit pa rin? Maghanap sa MuGPS Magtanong sa MU Assistant

MuADMINS Community Alpha: libre, gawa ng komunidad, at patuloy na dine-develop.