私はアンドロイド開発の初心者です。別の(サーバー)マシンで実行されている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.
これはJavaアプリケーションで行ったことに注意してください。また、データベースにアクセスできます。しかし、なぜAndroidプログラムでできないのですか? 何か考えはありますか?
注: サーバーと私の PC の両方が LAN 経由で接続されています。