Install MSSQL 2017 Express as usual. After the installation, assuming with default path, we need to enable a new app in Windows Firewall.

  • Press META key and then type “firewall” and run “Allow an App through Windows Firewall”.
  • In the Windows Firewall click Change Settings.
  • Still there, Click Allow another app….
  • In the Program dialog box, select This program path. Click Browse, and navigate to the instance of SQL Server that you want to access through the firewall, and then click Open. By default, SQL Server is at C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Sqlservr.exe. Click Next.
  • In the Action dialog box, select Allow the connection, and then click Next.
  • In the Profile dialog box, select any profiles that describe the computer connection environment when you want to connect to the Database Engine, and then click Next.
  • In the Name dialog box, type a name and description for this rule, and then click Finish.