Website Help!

Results 1 to 7 of 7
  1. #1
    Enthusiast VizesLufi is offline
    MemberRank
    Jan 2013 Join Date
    Cabal DimensionLocation
    28Posts

    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!


  2. #2
    RaGEZONER toast2250 is offline
    MemberRank
    Sep 2009 Join Date
    CabalLocation
    638Posts

    Re: Website Help!

    Does your xampp have mssql extension enabled?

  3. #3
    Enthusiast VizesLufi is offline
    MemberRank
    Jan 2013 Join Date
    Cabal DimensionLocation
    28Posts

    Re: Website Help!

    Yea Its Already Enabled and error is still here :(

  4. #4
    Valued Member Tmxx Rush is offline
    MemberRank
    Nov 2012 Join Date
    in the darknessLocation
    139Posts

    Re: Website Help!

    try change xamp to wamp and get the mssql ext.-s its worked fine for me

  5. #5
    ┌П┐(•_•)┌П┐ allocen is offline
    MemberRank
    Dec 2009 Join Date
    Deep AbyssLocation
    1,003Posts

    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.

  6. #6
    Account Upgraded | Title Enabled! oOSpikeOo is offline
    MemberRank
    Dec 2010 Join Date
    460Posts

    Re: Website Help!

    that port need to be forwarded only if u got the database on another machine ;)

  7. #7
    Member hefajstos is offline
    MemberRank
    Aug 2009 Join Date
    87Posts

    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



Advertisement