我是android开发的初学者.现在我试图通过emulator.MS SQL 2008 R2在另一台(服务器)机器上运行来连接MS SQL 2008 R2.我收到以下错误:
The TCP/IP connection to the host xxx.xxx.xx.x\SQL2008R2DEV has failed;
error: null;
verify connection properties.
make sure that instance of SQL server running on the host and accepting TCP/IP connection to the port are not blocked by Windows Firewall.
Run Code Online (Sandbox Code Playgroud)
注意我在java应用程序中完成了这个.我也可以访问我的数据库.但为什么不能在android程序中?有什么想法吗?
注意:两台服务器和我的PC都通过LAN连接.