Skip to content

Allow Port 1433 Ubuntu Linux for SQL Server

If you have just installed SQL Server on Ubuntu Linux and you are trying to connect remotely you may have some difficulty connecting if port 1433 is not available.

Here is how you do it, using the UFW, or Uncomplicated Firewall on Ubuntu.

sudo ufw enable
sudo ufw allow 1433

While you are at it you may want to enable port 22 for SSH if that has not been allowed already. I also allowed 1434 for the dedicated admin console assuming that it is available on the Linux version of SQL Server v.next.

sql_on_linux_firewall

I hope this helps!  Enjoy.

 

More from Stedman Solutions:

SteveStedman5
Steve and the team at Stedman Solutions are here for all your SQL Server needs.
Contact us today for your free 30 minute consultation..
We are ready to help!

5 thoughts on “Allow Port 1433 Ubuntu Linux for SQL Server”

  1. SQL Server on Linux currently supports a couple of distributions of Linux, those being Red Hat, SUSE and Ubuntu, as well as Docker engine.

  2. I have enabled 1433 and 1434 port on Ubuntu firewall but still i am unable to connect sql server through management studio from outside.

Leave a Reply

Your email address will not be published. Required fields are marked *