Ok, so the computer is reachable and the port is open. So far so good.

I'd recommend you next look at this error message in logcat:

09-29 09:50:09.540: DEBUG/Error:(1327): Failed parsing JSON source:
java.io.stringrea...@43e71b80 to Json


Google finds quite a lot of pages if you search for "Failed parsing JSON source".

-- Kostya

29.09.2010 15:10, titleist пишет:
I selected properties of my web service and i selected web tab, than
server and i selected specific port and i entered it(55555). On the
bottom right side (where the clock is by default in windows) when i
expand, i see that development server is running on port 55555. If I
enter only IP address in the emulators browser it returns me the
default page of IIS. And if I enter the address in my computer browser
it works. example: 
http://localhost:55555/JSON.asmx/LogInUser?password=1234&username=tadej
(I get both, the username and password back from web service, like i
should).



Regards,
Tadej


On 29 sep., 12:54, Kostya Vasilyev<[email protected]>  wrote:
   Ok, that's good.

How are you making sure this IP address is reachable from the phone?

And how are you opening the port on the development computer?

-- Kostya

29.09.2010 14:24, titleist пишет:





172.17.1.62 is my local ip address, port 55555 is the port of asp.net
development server on my computer, and is 100% correct. I checked it
few times and there is no mistake with ip or port in android
application.
On 29 sep., 12:12, Kostya Vasilyev<[email protected]>    wrote:
    29.09.2010 13:53, titleist пишет:
09-29 09:50:09.370: ERROR/Groshie:(1327): Connect to /
172.17.1.62:55555 timed out
Your connection is timing out, not connecting. Check the IP and port.
09-29 09:50:09.540: DEBUG/Error:(1327): Failed parsing JSON source:
java.io.stringrea...@43e71b80 to Json
You are not correctly passing data to JSON library code.
Google for "Failed parsing JSON source".
--
Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com
--
Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to