Trying to make a simple login, using my compute as the database.

SQL 2012, SQL Management Studio


triyng to connect using c#

here is my connection string

sc.ConnectionString = @"Data Source=000.000.000.00\LAPTOP\SQLEXPRESS,1433; Network=DBMSSOCN;Initial Catalog=users;User ID=sa;Password=password";


and it wont connect no matter what i do tried it on other computers from other regions lol

it works doing

sc.ConnectionString = @"Data Source=localhost\LAPTOP\SQLEXPRESS,1433; Network=DBMSSOCN;Initial Catalog=users;User ID=sa;Password=password";