- Joined
- Jul 12, 2007
- Messages
- 417
- Reaction score
- 24
The server is on a regular pc and im trying to connect with it from my pc using
mssql_connect("ip\SQLEXPRESS","user","pass");
I made a user in the security folder of db management tools and used for user that name with the pass I filled in for it. I granted remote connections in its properties but I cannot even connect to the ip
I did forward the port 1433 since that would be the standard port that mssql uses but it just doesnt work.
Im just testing from my pc if I can connect to it so I can connect trough the webhost I will buy as soon as I get it to work with a php file
This is the error I get:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: externalip\SQLEXPRESS in C:\server\web\mssql.php on line 2
When I log in to it like that on db management tools at the server pc with ip\SQLEXPRESS instead of computername\SQLEXPRESS it doesnt work either. I am sure the ip is correct as it goes to the website and other people can connect to it too trough that ip
mssql_connect("ip\SQLEXPRESS","user","pass");
I made a user in the security folder of db management tools and used for user that name with the pass I filled in for it. I granted remote connections in its properties but I cannot even connect to the ip
I did forward the port 1433 since that would be the standard port that mssql uses but it just doesnt work.
Im just testing from my pc if I can connect to it so I can connect trough the webhost I will buy as soon as I get it to work with a php file
This is the error I get:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: externalip\SQLEXPRESS in C:\server\web\mssql.php on line 2
When I log in to it like that on db management tools at the server pc with ip\SQLEXPRESS instead of computername\SQLEXPRESS it doesnt work either. I am sure the ip is correct as it goes to the website and other people can connect to it too trough that ip

