Hi,

am not able to connect to my local server using mssql_connect. But if I run command prompt osql -H 127.0.0.1 -U username, then it works fine and am able to login and get db access.

How do I track what the problem is here? One more information here is that, my local lan is connected to my internet provider's cable.

So doing ipconfig gets that ipaddress as my ip. I am able to connect using that ipaddress but am not able to access any database.

How do I solve this problem?