1. Are you ready for the Galaxy S20? Here is everything we know so far!

TCP communication.

Discussion in 'Introductions' started by karthick86mca, May 25, 2011.

  1. karthick86mca

    karthick86mca Lurker
    Thread Starter


    I am having doubt on TCP sockets. I am trying to do an client-server application. Server should be running in android emulator. client will be in java application. If i am trying to connect from java tcp client to android tcp server, connection refused error is coming. I read lot of things regarding this. Finally i came to know this..

    android emulator is running in 5554 port. my tcp server in andorid emulator is running in 7654 port. Thats why we cant connect to the server directly. we need port forwarding. But i dont know how to do port forwarding.. please help me...out.. thanks

    1. Download the Forums for Android™ app!


  2. Martimus

    Martimus One bite at a time...


Share This Page