Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Network error IOException while trying to Sync Data From SQL Server

Received: by 10.58.127.226 with SMTP id nj2mr8373601veb.3.1352856571180;
        Tue, 13 Nov 2012 17:29:31 -0800 (PST)
X-BeenThere: android-developers@googlegroups.com
Received: by 10.220.156.210 with SMTP id y18ls9609068vcw.2.gmail; Tue, 13 Nov
 2012 17:24:15 -0800 (PST)
Received: by 10.52.19.201 with SMTP id h9mr17368vde.0.1352856255646;
        Tue, 13 Nov 2012 17:24:15 -0800 (PST)
Date: Tue, 13 Nov 2012 17:24:14 -0800 (PST)
From: Sunghun <sung...@identityhive.com>
To: android-developers@googlegroups.com
Message-Id: <36c6ce50-f539-4622-86d1-528d02213510@googlegroups.com>
In-Reply-To: <a509217f-f323-4d29-856a-b73e6a49bbfb@googlegroups.com>
References: <a509217f-f323-4d29-856a-b73e6a49bbfb@googlegroups.com>
Subject: Re: Network error IOException while trying to Sync Data From SQL
 Server
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_309_15123420.1352856254810"

------=_Part_309_15123420.1352856254810
Content-Type: multipart/alternative; 
	boundary="----=_Part_310_4504486.1352856254810"

------=_Part_310_4504486.1352856254810
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hi.

Please check the device is connected to the same network with your 
SQLServer if the SQLServer has private IP.

On Tuesday, November 13, 2012 5:12:22 PM UTC+11, Aadi Rockzz wrote:
>
> Hi, 
>
> I'm trying to fetch data from my Local-Server Using an Android App. I 
> established this using jtds.jdbc Connection. In Emulator It's working fine 
> and fetching Data. While tried to connect using Android device through USB 
> it's Giving the Following Error. 
>
>     07-05 06:05:32.790: W/Error connection(4660): Network error 
> IOException: failed to connect to /194.178.100.3 (port 1433): connect 
> failed: ENETUNREACH (Network is unreachable)
>
> Here is the code which i'm using to connect SQL-Server Database
>
>     Connection conn = DriverManager.getConnection("jdbc:jtds:sqlserver://
> 194.178.100.3:1433/MyDB",
>     "sa", "password");
>
> I have Some Proxy Setting in My System i Doubt is that Blocking me while 
> trying to access Server-Database. While syncing From USB device from my 
> Computer.
> My Operating System is Windows 7 Professional, Service Pack 1
>
> Please Help me to Solve this issue.
>
> Best Regards
> Aadi
>

------=_Part_310_4504486.1352856254810
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi.<br><br>Please check the device is connected to the same network with yo=
ur SQLServer if the SQLServer has private IP.<br><br>On Tuesday, November 1=
3, 2012 5:12:22 PM UTC+11, Aadi Rockzz wrote:<blockquote class=3D"gmail_quo=
te" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;paddi=
ng-left: 1ex;"><div>Hi,&nbsp;</div><div><br></div><div>I'm trying to fetch =
data from my Local-Server Using an Android App. I established this using jt=
ds.jdbc Connection. In Emulator It's working fine and fetching Data. While =
tried to connect using Android device through USB it's Giving the Following=
 Error.&nbsp;</div><div><br></div><div>&nbsp; &nbsp; 07-05 06:05:32.790: W/=
Error connection(4660): Network error IOException: failed to connect to /<a=
 href=3D"http://194.178.100.3" target=3D"_blank">194.178.100.3</a> (port 14=
33): connect failed: ENETUNREACH (Network is unreachable)</div><div><br></d=
iv><div>Here is the code which i'm using to connect SQL-Server Database</di=
v><div><br></div><div>&nbsp; &nbsp; Connection conn =3D DriverManager.getCo=
nnection("<wbr>jdbc:jtds:sqlserver://<a href=3D"http://194.178.100.3:1433/M=
yDB" target=3D"_blank">194.178.<wbr>100.3:1433/MyDB</a>",</div><div>&nbsp; =
&nbsp; <span style=3D"white-space:pre">=09=09=09=09=09=09=09=09</span>"sa",=
 "password");</div><div><br></div><div>I have Some Proxy Setting in My Syst=
em i Doubt is that Blocking me while trying to access Server-Database. Whil=
e syncing From USB device from my Computer.</div><div>My Operating System i=
s Windows 7 Professional, Service Pack 1</div><div><br></div><div>Please He=
lp me to Solve this issue.</div><div><br></div><div>Best Regards</div><div>=
Aadi</div></blockquote>
------=_Part_310_4504486.1352856254810--

------=_Part_309_15123420.1352856254810--