i'm new in developing on android
i'm making an application and i want to access my server
the emulator is on the developing machine and my code is in java i'm using netbeans
its not giving any errors but its not connecting
i dont know why or how to solve this problem plz help.
Socket socket = new Socket("localhost",1234);
i tried instead of local host i tried 127.0.0.1 also 10.0.2.2 but still not working
plzzzzzzzzz help me.
its my graduation project .