-
Enthusiast
Website Help!
Hello guys i need ur helps!
I get this error when i want to connect to sql with my WAN ip!
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 178.48.160.21 in D:\Xampp\htdocs\index.php on line 26
Could not connect to MSSQL database.
How can i solve this problem?
Already Enabled Named Pipes on sql, but its still here!
Thanks For Helps!
-
-
Re: Website Help!
Does your xampp have mssql extension enabled?
-
Enthusiast
Re: Website Help!
Yea Its Already Enabled and error is still here :(
-
Valued Member
Re: Website Help!
try change xamp to wamp and get the mssql ext.-s its worked fine for me
-
Re: Website Help!
Damn simple. That ip is public. Make port forward on pot 1433 (mssql) for that ip and use xampp 1.7.1.
-
Account Upgraded | Title Enabled!
Re: Website Help!
that port need to be forwarded only if u got the database on another machine ;)
-
Member
Re: Website Help!
Alternatively, to use Dbnetlib.dll
paste this dll to windows/system32 and restart the system.
tested on the WAMP, XAMPP is working very well
dbnetlib - Download - 4shared
Tested Win7