TCP/IP connection to the server failed

Khaled_BH
Khaled_BH Registered Posts: 13 ✭✭✭✭

I've been trying to connect to SQL server located in my local pc (I'm using Virtual Machine for DSS), server name is PC-NAME, server type is database engine, I'm using SQL Server Authentification,login and password .

When Ive tried to test the connection between DSS and my dataset I got this error, anyone has faced this kind of error before ?

Best Answer

  • dima_naboka
    dima_naboka Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 28 Dataiker
    Answer ✓
    Hi, first of all you need to make sure DSS VM can access Host with provided hostname. If you can’t “ping” DESKTOP-H6PRTQG you might want to try using IP address instead. If you are running VirtualBox with default NAT mode, it is likely that your VM IP is 10.0.2.15 and your host IP is 10.0.2.2. More on VirtualBox Network Settings here
    Once you made sure that host is accessible from VM you need to review SQL Server TCP/IP properties. By default, listening on static ports are not enabled afaic. You can enable one of IP0-IP9 listening ports or enable IPAll, click Apply and restart SQL Server SQL Server service to apply the change. More on that in Microsoft docs

Answers

Setup Info
    Tags
      Help me…