问题
I can't seem to find a solution for this. Either it hasn't been asked, is impossible, or I used wrong key words, so I'm gonna try and ask here.
My problem is that I have two phones and a laptop.
My Laptop has WAMP 3.0.6 on it and has my database and server.
One phone is connected via tethering USB cable to the Laptop and has its Tethering Hotspot on.
The other phone is connected to the first phone via Wifi to Hotspot connection.
However, when I try to use the method of http://IP:PORT on the second phone, it shows a Not Allowedor net::ERR_CONNECTION_TIMED_OUT warning instead of my Localhost page.
Can anybody give some help on this?
来源:https://stackoverflow.com/questions/42923492/how-can-i-connect-to-localhost-using-the-tetherigh-hotspot-of-a-phone