WeChat’s development server needs a url. Obviously localhost:8080 is not legal, but the laptop IP address under wifi is not fixed. How should I set up apache to have a static url?
Thank you for your kind reminder. I went to build an aliyun server. Bi She got the WeChat question and wanted to rent an Alibaba Cloud at first. I was worried that the workload of setting up the server by myself would be too small, so I built apache (actually I didn’t It’s bad. The pattern was so groundbreaking at that time)
巴扎黑2017-05-16 17:03:09
For Windows, use the peanut shell intranet version to get it directly.
If Linux is used as a development machine (this is my current plan), rent a VPS (such as Alibaba Cloud student machine, a cheap machine with 128MB memory in the United States), and use ssh Map vps port 80 to local
漂亮男人2017-05-16 17:03:09
If it’s a campus network, just give up. . I wanted to do this before, but the school wouldn't do port mapping for you, so I rented a cloud server. . It’s cheap anyway
给我你的怀抱2017-05-16 17:03:09
If you are using Windows, you can use peanut shells. Domain names at level 4, 5, 6, 7 and 8 can access the local machine, but it is not that stable, but it should still be more convenient for development and testing than Alibaba Cloud. . . .