I have a PHP site project in my pc. I am using wampserver for localhost program. I want to show this site from another pc or android phone (Same network).But i faced with a problem like photo below;
Asked
Active
Viewed 317 times
-2
-
@Ima i am using wampserver. How can i make it ? – F K Dec 13 '16 at 12:54
-
So what have you done so far? – Ima Dec 13 '16 at 12:56
-
2http://stackoverflow.com/questions/9682262/how-do-i-connect-to-this-localhost-from-another-computer-on-the-same-network this link may help you – Prabal Thakur Dec 13 '16 at 12:57
-
Try this: https://john-dugan.com/wamp-vhost-setup/ – Ima Dec 13 '16 at 12:57
1 Answers
-1
The easy way
Use a localtunnel to share your website through a private tunnel to your localhost and now with no configuration you can see your localhost through your mobile app or wherever you want
Use ngrok
- Download ngrok
- Run the following command
./ngrok http yourlocalip:80
3.- Use the url provided by ngrok

OsDev
- 1,243
- 9
- 20
-
-
-
I have downloaded it, it was a simple ngrok.exe, i clicked on it and typed your command. – F K Dec 13 '16 at 13:21
-
and error like this "'.' is not recognized as an internal or external command," – F K Dec 13 '16 at 13:27
-
Ahh of you are on windows you have to use like `ngrok.exe http ip:80` in your command line – OsDev Dec 13 '16 at 13:32
-