Hi,
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
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