• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can't connect to XML Server using XML-RPC protocol

 
Ranch Hand
Posts: 643
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

D/CameraService( 25): startPreview()
W/System.err( 180): org.xmlrpc.android.XMLRPCException: org.apache.http.conn.Ht
tpHostConnectException: Connection to http://127.0.0.1:8085 refused
W/System.err( 180): at org.xmlrpc.android.XMLRPCClient.callXMLRPC(XMLRPCClie
nt.java:380)
W/System.err( 180): at org.xmlrpc.android.XMLRPCClient.call(XMLRPCClient.jav
a:171)
W/System.err( 180): at javapadawan.android.ImageCaptureCallback.onPictureTak
en(ImageCaptureCallback.java:39)



My code



Server is running perfectly i can access same method by using apaches commons http client but why this is giving exceptions



I am using libraries from this URL : http://code.google.com/p/android-xmlrpc/
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

chetan dhumane wrote:

My code



I am using libraries from this URL : http://code.google.com/p/android-xmlrpc/



if you try to connect to your development computer url 127.0.0.1 is wrong, try 10.0.2.2 instead.

see test activity in the project you use how to connect to dev box.



reply
    Bookmark Topic Watch Topic
  • New Topic