Community AlphaAlpha MUADMINS
VITiếng Việt
Đăng nhập
Trên MuADMINSConfig ScannerTải lên zip file của bạn: rate, rơi đồ, spot, giới hạnMởTrên MuADMINSGặp chúng tôi trên DiscordNhờ giúp đỡ, chia sẻ những gì bạn đang làm và trò chuyện về MU với các chủ server khác.Mở
← Tất cả giải pháp
WebsiteSeason 6

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

✓ Được người mở chủ đề xác nhận

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.

Người mở chủ đề đã xác nhận cách này hiệu quả.

Nguyên văn (Tiếng Tây Ban Nha)

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

Người mở chủ đề, 2021-02-07 (nguyên văn)
TUServerMU · 2021-02-07
Cách này có giúp được bạn không?

Vẫn còn vướng mắc? Tìm trên MuGPS Hỏi Trợ lý MU

MuADMINS Community Alpha: miễn phí, do cộng đồng xây dựng, đang được phát triển tích cực.