Community AlphaAlpha MUADMINS
RORomână
Autentificare
Pe MuADMINSConfig ScannerÎncarcă zip-ul fișierelor tale: rate-uri, drop-uri, spoturi, limiteDeschidePe MuADMINSÎntâlnește-ne pe DiscordCere ajutor, arată la ce lucrezi și vorbește despre MU cu alți proprietari de servere.Deschide
← Toate soluțiile
SiteSeason 6

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

✓ Confirmată de autorul topicului

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.

Autorul topicului a confirmat că a funcționat.

Cuvintele originale (spaniolă)

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

Autorul topicului, 2021-02-07 (cuvintele originale)
TUServerMU · 2021-02-07
Te-a ajutat?

Tot nu merge? Caută în MuGPS Întreabă Asistentul MU

MuADMINS Community Alpha: gratuit, făcut de comunitate, în dezvoltare activă.