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
Network.
Any suggestion?

Thanks.


On Apr 7, 9:21 am, Ask <asifk1...@gmail.com> wrote:
> Can you send the exception you are getting or some code snippets,
>
> it can be some io exception...
>
> On Apr 7, 4:58 pm,LillianBrandão <lbrolive...@gmail.com> wrote:
>
> > I've already done at the server machines:
> > redir add tcp:7000:7000.
>
> > --
> >LillianBrandão
>
> > On Tue, Apr 7, 2009 at 8:47 AM, Ask <asifk1...@gmail.com> 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 Apr 7, 4:35 pm,LillianBrandão <lbrolive...@gmail.com> wrote:
> > > > Hi all,
>
> > > > I have an application client/server and I want to install this
> > > application
> > > > in differente machines. The server is located in IP_SERVER, listening
> > > port
> > > > 7000.
> > > > I want to start a cliente in another machine with IP_Y and connect to 
> > > > the
> > > > server on the different machine.
>
> > > > I've started the server and I've created the socket like this:
> > > > ... new ServerSocket(7000);
>
> > > > I've started the client and I've created the socket like this:
> > > > ...new Socket(SERVER_IP, 7000)
>
> > > > But the client did not connect to the server. I've already set the
> > > > INTERNET_PERMISSION.
> > > > Any suggestions how to do it?
> > > > Anybody else have already done a client/server application that
> > > communicate
> > > > between differente machines?
>
> > > > Thanks in advance,
> > > >LillianBrandão.- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to