Can you send the exception you are getting or some code snippets,
it can be some io exception...
On Apr 7, 4:58 pm, Lillian Brandão wrote:
> I've already done at the server machines:
> redir add tcp:7000:7000.
>
> --
> Lillian Brandão
>
>
>
> On Tue, Apr 7, 2009 at 8:47 AM, Ask wrote:
>
> > Ha
Have you done port forwarding at server machine??
Any message which is coming to the server should be redirected towards
the emulator port : 7000
On Apr 7, 4:35 pm, Lillian Brandão wrote:
> Hi all,
>
> I have an application client/server and I want to install this application
> in differente ma
I've already done at the server machines:
redir add tcp:7000:7000.
--
Lillian Brandão
On Tue, Apr 7, 2009 at 8:47 AM, Ask wrote:
>
> Have you done port forwarding at server machine??
>
> Any message which is coming to the server should be redirected towards
> the emulator port : 7000
>
> On Ap
Hi Ask,
I'm developing the same application with Lillian. After debugging a
little bit, I found out that we're receiving the following exception:
java.net.ConnectException: 192.168.0.173/192.168.0.173:7000 -
Connection refused
192.168.0.173 is the IP of my machine (the server) in the Local
i have the similar problem,
my main java class listening a server socket at port 8088
now when my client (android) try to connect a socket it refused the
conenction
InetAddress serverAddr = InetAddress.getByName("127.0.0.1");
Socket socket = new Socket(serverAddr , 8088 );
java.net.Connect
"Connection refused" is a standard TCP error, not Android-specific. So
see if you can telnet into the same IP address and port, using a PC on
the same subnet as your phone, if possible. For example, if you can
put both the PC and phone are on the same WiFi network.
Yusuf Saib
Android
·T· · ·Mobi
thanks for the reply Yusuf,
i am able to connect socket through this ip 10.0.2.2 in emulator as Grob
suggested
in a different thread but when i check it on real device it gives me "no
route to host" exception.
my android device is attached to the same pc my server program is running
on.
i dont k
thanks jason,
i am able to connect but when i try to read data from inputStream at server
side i got exception java.net.SocketException: Connection reset
client:
Socket socket = new Socket(SERVER_IP , 8626 );
os = new DataOutputStream(socket.getOutputStream());
os.writeBytes("HELO\n");
serv
thanks jason,
i am able to connect but when i try to read data from inputStream at server
side i got exception java.net.SocketException: Connection reset
client:
Socket socket = new Socket(SERVER_IP , 8626 );
os = new DataOutputStream(socket.getOutputStream());
os.writeBytes("HELO\n");
serv
connection reset usually means that the
connection was closed unexpectedly during a read
operation. in the client, are you waiting for the
server's response?
as always, i recommend getting stuff like this to
work as a little command line tool before
deploying to the phone. the write/debug cy
10 matches
Mail list logo