Hi,
I have to connect php with MSSQL server 2008 over other network.
Router is used in between and port number 1433 is forwarded to IP of the machine .
When i attempt to make connection without using router, I am able to make connection and when router is used,connection is made but database is not selected.
Error "unable to select database".
below is code of my connection.
$a=mssql_connec t('1.23.182.244 \SQLSERVER','Un ame','Pass');
where 1.23.182.244 is the ip of router from where port no. 1433 is forwarded to other machine where sql server is installed.
SQLSERVER is the name of instance.
Thanks in advance.
I have to connect php with MSSQL server 2008 over other network.
Router is used in between and port number 1433 is forwarded to IP of the machine .
When i attempt to make connection without using router, I am able to make connection and when router is used,connection is made but database is not selected.
Error "unable to select database".
below is code of my connection.
$a=mssql_connec t('1.23.182.244 \SQLSERVER','Un ame','Pass');
where 1.23.182.244 is the ip of router from where port no. 1433 is forwarded to other machine where sql server is installed.
SQLSERVER is the name of instance.
Thanks in advance.
Comment