The 504 means curl timed out trying to connect. Check outgoing port (443) is open. Also use nslookup to validate dns.
Issue installing MSSql server on Ubuntu 22.04
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
2 answers
Sort by: Most helpful
-
-
ZoeHui-MSFT 41,446 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.