Without a public IP, how can a self-built website be accessed from the external network?

Affected by the wave of entrepreneurship, many friends around me started their own companies. As a practitioner in the IT industry, I became inexplicably busy. Because I have mastered programming skills, my friends often find me and ask me to help them build their company websites. But there is an unavoidable problem, that is, my network is not a public network IP, but a virtual IP provided by China Telecom. Even if the website is completed, it cannot be mapped, and others cannot access it. What should I do?

At this time, we need to use an intranet penetration tool. Colleagues in the industry think that the internal network penetration of Quick Analysis is good. I heard about it when I was in school. It should be better now. Now I can use Quick Analysis Intranet penetration directly maps the website of the LAN to the external network, and the site built can be easily accessed through the domain name on the external network. Today, I will build a random website for you to test:

1. Install the IIS service

Click Computer Start—Settings—Applications—Programs and Features—click to turn on or off Windows features, select Internet Information Services—Web Management Tools, open the web management function, click the OK button, and then the "Internet Information Services (IIS) )” related services are installed, and the IIS service will automatically complete the installation.

 

2. Start building a website

Open the Internet Information Services (IIS) Manager, you can open it in two ways:
( 1 ) Find the Internet Information Services (IIS) Manager in the Control Panel - All Control Panel Items - Administrative Tools

( 2) Right-click the "Start" button - Computer Management - Services and Applications - Open;

 

3. Add a site

Click the right mouse button on the website to add a website, and enter the site description information;
the physical path is the storage address of the website content, and the default address is generally used: C:\inetpub\wwwroot to bind the website; the address can be filled with the website server address.

It is recommended to set the server computer to a fixed intranet IP address, and the port can be set at will. Now use 808 for testing. After setting, use http://192.168.31.122:808 to visit

 

4. Set intranet mapping

On the intranet host, install and log in to the fast analysis client to add port mapping

The relevant information related to the mapping filling is as follows:

 

Mapping name: self-defined, convenient for you to remember; public network port type: choose according to your own scene application requirements; intranet address: the intranet IP address of the website server , which can be a fixed intranet IP or computer name, if it is on the server If the machine uses mapping, it is recommended to fill in the format of 127.0.0.1; application port: the erp intranet access port, the port number used by the erp service on the local intranet target server, such as 7002. Based on the actual situation, it is not allowed to fill in casually, here select port 80 ; after filling in, click OK, and Quick Analysis will automatically generate an access address;

By the way, popularize several commonly used ports for everyone: WEB server (web server): port 80; FTP server (file server): port 21; terminal server: port 3389; mail server: port 25 (SMTP) and port 110 (POP) ;VPN server: port 1723.

Directly use the generated external network access address to access on the external network.

After the intranet fast resolution port mapping domain name has taken effect, you can access the built website through the domain name and external network port in any Internet environment. In this way, computers with IPs that are not on the public network can also map the website for others to visit. Personally, I think it is really convenient to use fast analysis !

Build a server in the intranet, use fast analysis to map the external network, and also widely used in remote desktop, SSH, database SQL service, FTP file sharing, office OA, ERP, web site, GPRS, housekeeper, financial management, property management, UF and other individuals and enterprise application scenarios.

Guess you like

Origin blog.csdn.net/asdaddsd/article/details/130301749