Community AlphaAlpha MUADMINS
PLPolski
Zaloguj się
Na MuADMINSConfig ScannerWgraj zip swoich plików: rates, dropy, spoty, limityOtwórzNa MuADMINSSpotkajmy się na DiscordziePoproś o pomoc, pokaż, nad czym pracujesz, i rozmawiaj o MU z innymi właścicielami serwerów.Otwórz
← Wszystkie rozwiązania
Strona WWWSeason 6

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

✓ Potwierdzone przez autora tematu

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.

Autor tematu potwierdził, że to zadziałało.

Oryginalne słowa (hiszpański)

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

Autor tematu, 2021-02-07 (oryginalne słowa)
TUServerMU · 2021-02-07
Czy to pomogło?

Nadal masz problem? Szukaj w MuGPS Zapytaj Asystenta MU

MuADMINS Community Alpha: za darmo, tworzone przez społeczność, w aktywnym rozwoju.