You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022/07/18 10:15:38 Prepare failed:unable to open tcp connection with host 'my-server:1433': dial tcp 172.16.20.185:1433: connectex: No connection could be made because the target machine actively refused it.
Though that I did the following:
Installed fresh version of MSSQL dev, first time MSSQL is installed at this machine, and confirmed it is running using sqlcm
Installed MSSQL studio (I'm to confirm MSSQLSERVER) is connected
At Windows definder firewall, I allowed the connection of port 1433
At SQL server network connection -> protocols for MSSQLSERVER I enabled both Named Pipes and TCP/IP
The code I'm trying to test is the simple one provided in the examples:
I goth the below error:
2022/07/18 10:15:38 Prepare failed:unable to open tcp connection with host 'my-server:1433': dial tcp 172.16.20.185:1433: connectex: No connection could be made because the target machine actively refused it.
Though that I did the following:
sqlcm
1433
SQL server network connection -> protocols for MSSQLSERVER
I enabled bothNamed Pipes
andTCP/IP
The code I'm trying to test is the simple one provided in the examples:
The text was updated successfully, but these errors were encountered: