SQL Server connection in the Laravel

Asked

Viewed 1,224 times

0

Guys, I’m making the following mistake: sqlstate 08001:[Microsoft][odbc driver 11 for sql server] tcp provider: no connection can be made because the target machine actively refused them.

I am using a database created on my own machine, this one with ODBC drivers, firewall disabled, however I use wamp to run. Does anyone have any idea how to solve?

Valeus

1 answer

2


I was able to solve it this way:

Open SQL Server Configuration Manager. Go to SQL Server Network Configuration -> TCP/IP. Switch to Enable and Ipaddresses Abla, Ipall leave TCP Dynamic ports blank and TCP Port 1433. Remembering that you will have to configure in Laravel correctly.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.