SQL server 2017 - not connecting

I traing to connect to sqlserver 2017 from cuba
usig as a primary database
but the connection was refused
I coudnt find any topic that help me

jdbc:sqlserver://localhost;databaseName=test;instance=SQLSERVER;integratedSecurity=true

Hi,
Try to specify URL in the host\instancename format. And make sure TCP/IP access is enabled on your server.
The “SQL Server Browser” service should also run.
image