client(android) - server(java) communication - local ip address
<p>i am trying to built a client- server communication using RESTful.The client is an android application while the server is a java application. When i call the URL: <a href="http://localhost:8888" rel="nofollow">http://localhost:8888</a> through my browser i can see the result(it works fine). As i read, using this URL in my client as the endpoint it doesn't work because the localhost is the (emulated)phone. But when i use the local ip of my computer, through the browser i get the message "The connection has timed out" and through the client i can't take any result too. What is wrong with it. What ip I have to use in order to have access to my server?
Thank you!</p>
