Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8854503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:53:45+00:00 2026-06-14T13:53:45+00:00

I created a database in my PC, and now I want to retrieve all

  • 0

I created a database in my PC, and now I want to retrieve all table data and display them on my phone usin Google gson library by executing a php file in the server. The problem is the phone can’t connect to the PC to execute that php file:

Error 403 for URL http://192.168.1.2/android_connect/get_all_products.php

I’m sure that the code is working cause i tested with that online link and data are retrieved in the phone.
The url is like that in JAVA code:

String url = "http://192.168.1.2/android_connect/get_all_products.php";

Is that correct? Is there something to do to let the phone connect to the PC?
Thank you for helping.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T13:53:48+00:00Added an answer on June 14, 2026 at 1:53 pm

    To allow remote access to apache on Windows change the file: c:\wamp\bin\apache\Apache2.2.22\conf\httpd.conf

    You need to allow remote access to directory C:\wamp\www like this:(add that lines)

    <Directory "C:/wamp/www/">
        Order Deny,Allow
            Allow from all
    </Directory>
    

    And RESTART YOUR SERVER.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to retrieve product info. from database and now want to edit some
I want to create an SQL script that creates a database. Right now, I
I've created small database under SQL Server 2008 . Now i wanted to move
iv created a database with some tables and populated them using SQL server 2008,
I have created a database application using java swing. My program retrieves data from
I'm currently logging all actions of users and want to display their actions for
I have a list that i fill with data from a database, and now
I am now trying to create new database manager under Fragment class. But unfortunately,
I have been trying for almost a week now to create an SQLite database
I successfully created database on my local server using Code First, migrated it to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.