Issue installing MSSql server on Ubuntu 22.04

Ifeanyi Nwagbara 0 Reputation points

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 | 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 ( 59,046 Reputation points

    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

    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.


    Zoe Hui

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

    0 comments No comments