Mobile app version of vmapp.org
Login or Join
Kaufman445

: Connecting to my local WampServer from mobile? I want to make an app for file transfer between mobile and a web server. I don't have web space yet and want to simulate that. The mobile part

@Kaufman445

Posted in: #Android #Php #Wamp

I want to make an app for file transfer between mobile and a web server. I don't have web space yet and want to simulate that. The mobile part is ok. I have the PHP code too, Is there anyway I can run the PHP code to accept the file from the mobile by the PHP code and save the file to the WAMP server on my computer?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

I hope I edited your question correctly. As I understand you want to connect to the server on your local computer from your mobile.

First you'll need to open the correct port on your PC and router. Then make sure WampServer is listening on that port and is not bound to an IP. For example instead of:

Listen 127.0.0.1:80


You should have:

Listen 80


Or preferably a non-standard port rather than 80.

See this page for more details and other options to try. This Stack Overflow question also has some other options.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme