服务器内网能够打开外网打不开怎么办?网站搭建后打不开怎么办?
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">开服或是做网站建设的<span style="color: black;">伴侣</span>在搭建网站的时候有遇到搭建网站后打不开的<span style="color: black;">状况</span>吗?相信应该有挺多新手小白是会遇到的,今天我给<span style="color: black;">大众</span>分享一下搭建网站打不开的<span style="color: black;">处理</span><span style="color: black;">办法</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">首要</span>需要分2种<span style="color: black;">状况</span>,<span style="color: black;">第1</span>种是外网和服务器都是打不开的,这个是什么<span style="color: black;">原由</span><span style="color: black;">引起</span>的呢?若是遇到外网和服务器都打不开搭建的网站,<span style="color: black;">第1</span>先<span style="color: black;">检测</span>一下网站搭建的<span style="color: black;">过程</span><span style="color: black;">是不是</span>有误,若是没问题,<span style="color: black;">能够</span>查一下域名<span style="color: black;">是不是</span>有备案,备案了域名<span style="color: black;">是不是</span>有解析过白到服务器上面,备案域名用的是80端口搭建,只要域名过白解析到服务器了,那搭建网站基本就<span style="color: black;">无</span>什么问题了</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">若是用的未备案域名,可用80以外的端口搭建,<span style="color: black;">然则</span>前提是服务器开放了80以外的端口权限,<span style="color: black;">亦</span>是需要过白到服务器上面的</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">过白联系机房售后操作,域名解析是在哪里购买的域名就在哪里解析操作</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">第二种<span style="color: black;">状况</span>是服务器<span style="color: black;">能够</span>打开浏览网站,<span style="color: black;">然则</span>电脑外网<span style="color: black;">拜访</span>却打不开,这种<span style="color: black;">状况</span>是<span style="color: black;">由于</span>服务器系统的防火墙打开了,<span style="color: black;">非常多</span>的<span style="color: black;">Windows server 2008R2系统都有自带防火墙,<span style="color: black;">怎样</span>关闭自带的防火墙呢?<span style="color: black;">办法</span>如下:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">1、点击左下角“<span style="color: black;">起始</span>”-“管理工具”- “高级工具Windows防火墙”</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2、防火墙默认为开启状态</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">3、右键选中左上角“本地计算机上的高级安全防火墙” - “属性”,打开属性配置,默认<span style="color: black;">所有</span>为开启状态</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/f9acdf498ce642329645c8b5873c76fe~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722831049&x-signature=dePGl0ieBipgh4Lj12%2F2bCwC268%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">4、修改防火墙状态为“关闭”,<span style="color: black;">而后</span>点击右下角“应用”按钮</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/9d23cf51f83046bfaf8590d55471c841~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722831049&x-signature=GcFzylXfg4d%2F5Z7Elo%2B8WqWT9%2BU%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">5、<span style="color: black;">而后</span>依次修改“域配置文件”、“专用配置文件”、“公用配置文件”,防火墙状态改为“关闭”,<span style="color: black;">而后</span>点击“应用”,最后点击“确定”</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/43658bb4cd0d473b8a4fb7585a082617~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722831049&x-signature=PfsQfh4Qgzuw7vcAXAM%2BRcCRFjM%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">6、到此,防火墙已关闭完成!</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">如是个人测试,<span style="color: black;">能够</span>完全关闭防火墙;如服务器是用在正式环境,<span style="color: black;">意见</span>开启防火墙,并设置相应规则</span></p>
回顾历史,我们不难发现:无数先辈用鲜血和生命铺就了中华民族复兴的康庄大道。
页:
[1]