Results 1 to 4 of 4
  1. #1
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    331
    Blog Entries
    1
    Rep Power
    9

    Default android device can connect localhost by browser. but unable on application by WIFI

    HI!

    My Android device is working on WIFI, as usual i can call the php pages on static server. But this time,

    I am trying to connect my local host php page (JSON response) . If i use this url on browser it working well,

    But i want to call the page on my application, it is not get connected..,

    Can Guide me please..,

    i am trying for the past three days..,

    Notes :

    server : XAAMP
    DataBase : SQL


    Thank You!

    Have A Happy Day..,
    Last edited by raj.mscking@gmail.com; 11-27-2014 at 08:08 AM.
    - Raj

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    27

    Default Re: android device can connect localhost by browser. but unable on application by WIF

    Without code, or a full description of "not getting connected" including any exceptions or log messages, all we can says is "you're doing something wrong".
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: android device can connect localhost by browser. but unable on application by WIF

    I am going to venture a guess that this is somehow related to CORS.

    Cross-origin resource sharing - Wikipedia, the free encyclopedia

    And that's the only guess I'm going to make today. I feel dirty already.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    331
    Blog Entries
    1
    Rep Power
    9

    Default Re: android device can connect localhost by browser. but unable on application by WIF

    Hi!

    Sorry for the late response,

    It is working fine, i can able to connect my localhost with android device through WIFI and can able to take the wifi print also..,
    The problem is firewall, i off the firewall to made it as work..,

    Thank You!

    Have A Happy Day..,
    - Raj

Similar Threads

  1. Replies: 6
    Last Post: 04-18-2013, 06:21 AM
  2. Replies: 2
    Last Post: 12-10-2012, 03:07 AM
  3. java wifi/android powered RC car
    By mckinnley in forum Networking
    Replies: 1
    Last Post: 05-04-2012, 08:09 PM
  4. Windows File Manager Unable to See Files on Android Device
    By Glorfindel Arnatuile in forum Android
    Replies: 3
    Last Post: 03-15-2012, 08:22 AM
  5. JMF: Cannot connect to device
    By jonsamwell in forum New To Java
    Replies: 2
    Last Post: 06-10-2011, 07:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •