Believe that most programmers have this demand – especially front-end programmers, when writing resumes, hope to be able to paste their own personal works for the interviewer to see the effect, but do not want to spend hundreds of each year to buy server deployment of their own projects, there is no appropriate way to solve this problem? Yes, that is to let the public network access their computer on the project is not on the line, this is Intranet penetration.

Here is a graphic tutorial to teach you how to set it up, very simple.

Download the peanut shell software

The first step is to download and install peanut shell software, address :(hsk.oray.com/download/), it can help our Intranet penetration.

Peanut shell configuration

After the installation is complete, you can scan the wechat public account that follows it and log in to the peanut shell software. Then click the plus icon in the lower right corner of the software to enter the configuration as shown below.

Usually our website is HTTP project, choose HTTP application type, then will ask you to pay 6 yuan authentication fee. 6 yuan is the authentication fee, the software is free forever, feel free to use it.

Use ipconfig to query your IP address on the Intranet host. Generally, the IP address starts with 192.168. Save all information after filling in.

Visit our project

OK, now start your project locally, mine is vUE project, use NPM Run serve to start.

After saving the peanut shell information, the link is your public domain name mapping. Use any device to access your project.

My project link is as follows: 30H2P28468.qICP.vip /

Welcome to try to visit, my computer is basically not shut down. (PS: The file of vUE local development environment is relatively large, and it takes a long time to load my webpage when I visit it for the first time. A file packaged by VUE is 7M in size). Note that our free version of peanut Shell only gets 1 GIGAByte of traffic a month.

Above, what do not understand can leave a message or private letter I help you solve oh.

If you need help or like my article, please pay attention to my public account “Donggudonggua”. Please search it on wechat.