当前位置:网站首页>用快解析内网穿透实现零成本自建网站
用快解析内网穿透实现零成本自建网站
2022-07-04 23:12:00 【快解析】
作为一个IT行业从业者,因为掌握编程技术,经常会受开公司的朋友之托做个网站,但是发现自己的网络竟然不是公网IP,是电信给的虚拟IP,也就是说就算做好了网站,也映射不出去,别人访问不到,怎么办?现在我们可以借助快解析内网穿透将局域网的网站直接映射到外网,在外网通过域名方便地访问到所搭建的站点。业内的同事们都觉得快解析的内网穿透做的不错,上学的时候就听说过,现在应该更好了,就随便建个网站测试一下:
第一步安装IIS服务
点击电脑开始—设置—应用--程序与功能--点击打开或关闭windows功能,选择Internet 信息服务—Web管理工具,开启web管理功能,点击确定按钮,然后就会自动把“Internet 信息服务(IIS)”的相关服务装上,IIS服务会自动完成安装。
第二步开始建站
打开Internet 信息服务(IIS)管理器,可以通过两种打开方式:
(1)通过控制面板--所有控制面板项--管理工具中,找到Internet 信息服务(IIS)管理器
(2)右键点击“开始”按钮—计算机管理—服务和应用程序—打开;
第三步添加站点
在网站上点击鼠标右键添加网站,输入站点描述信息;
物理路径是网站内容存放地址,一般使用默认地址:C:\inetpub\wwwroot 绑定网站;地址中可填写网站服务器地址。
服务器电脑建议设置为固定内网IP地址,端口可以随意设置,现使用808进行测试。设置好后,使用http://192.168.31.122:808进行访问
第四步 设置内网映射
涉及映射填写相关信息有:在内网主机上,安装并登录快解析客户端添加端口映射
应用程序端口:即erp内网访问端口,在本地内网目标服务器erp服务使用的端口号,如7002。以实际为准,不可以随便乱填写。给大家顺便普及几个常用的端口:WEB服务器(网站服务器):80端口;FTP服务器(文件服务器):21端口;终端服务器:3389端口;邮件服务器:25端口(SMTP)和110端口(POP);VPN服务器:1723端口。
公共端口类型:根据自己场景应用需求选择。
内网地址:内网访问固定地址,可以是固定内网IP或计算机名,推荐填写127.0.0.1格式。
已经在内网快解析端口映射域名生效后,即可以在任意上网环境,通过域名和外网端口进行所建网站访问。这样不是公网的IP的电脑也可以把网站映射出去,让别人访问,是不是很方便呢?
内网搭建服务器,利用快解析映射外网,还广泛应用于远程桌面、SSH、数据库SQL服务、FTP文件共享、办公OA、ERP、web网站、GPRS、管家婆、财务管理、物业管理、用友等个人和企业应用场景。
边栏推荐
- Examples of time (calculation) total tools: start time and end time of this year, etc
- js正则表达式之中文验证(转)
- How to apply for PMP project management certification examination?
- 为什么信息图会帮助你的SEO
- Combien de temps faut - il pour obtenir un certificat PMP?
- The difference between debug and release
- Basic use and upgrade of Android native database
- Qt加法计算器(简单案例)
- Redis: redis message publishing and subscription (understand)
- Wechat official account solves the cache problem of entering from the customized menu
猜你喜欢
Redis:Redis的事务
C language to quickly solve the reverse linked list
A complete tutorial for getting started with redis: getting to know redis for the first time
Redis: redis message publishing and subscription (understand)
QT addition calculator (simple case)
Excel 快捷键-随时补充
Qualcomm WLAN framework learning (30) -- components supporting dual sta
[Jianzhi offer] 6-10 questions
MariaDB的Galera集群应用场景--数据库多主多活
字体设计符号组合多功能微信小程序源码
随机推荐
js正则表达式之中文验证(转)
heatmap. JS picture hotspot heat map plug-in
colResizable. JS auto adjust table width plug-in
Tweenmax emoticon button JS special effect
Redis:Redis消息的发布与订阅(了解)
D3.js+Three. JS data visualization 3D Earth JS special effect
推荐收藏:跨云数据仓库(data warehouse)环境搭建,这货特别干!
Pict generate orthogonal test cases tutorial
[sword finger offer] questions 1-5
Paddleocr tutorial
[crawler] XPath for data extraction
MIT-6.824-lab4B-2022(万字思路讲解-代码构建)
Galera cluster of MariaDB - dual active and dual active installation settings
Solve the problem that the virtual machine cannot be remotely connected through SSH service
Ffmpeg quick clip
如何报考PMP项目管理认证考试?
Redis getting started complete tutorial: hash description
Summary of wechat applet display style knowledge points
The caching feature of docker image and dockerfile
高配笔记本使用CAD搬砖时卡死解决记录