Issue installing MSSql server on Ubuntu 22.04

Ifeanyi Nwagbara 0 Reputation points
2024-06-09T14:45:03.9333333+00:00

While trying to install mssql server on my Ubuntu VPS following Microsoft documentation, i'm encountering error 504 running the command below.

root@eloquent-engelbart:~# curl -fsSL https://packages.microsoft.com/config/ubuntu/22.04/mssql-server-2022.list | sudo tee /etc/apt/sources.list.d/mssql-server-2022.list

curl: (22) The requested URL returned error: 504

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,067 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,849 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 59,046 Reputation points
    2024-06-09T16:24:16.1366667+00:00

    The 504 means curl timed out trying to connect. Check outgoing port (443) is open. Also use nslookup to validate dns.

    0 comments No comments

  2. ZoeHui-MSFT 34,576 Reputation points
    2024-06-11T02:11:31.47+00:00

    Hi @Ifeanyi Nwagbara

    The requested URL returned error: 504

    Seems like a gateway timeout error.

    To configure SQL Server on Ubuntu, run the following commands in a terminal to install the mssql-server package.

    You may check this documentation to see if you have missed any steps.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments