端口80被ISP阻止 [英] port 80 blocked by ISP

查看:508
本文介绍了端口80被ISP阻止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在家庭网络上运行一个Web服务器,但是我的ISP不允许来自端口80的传入请求,所以我必须使用端口81,是否有一种方法可以隐藏我的域中的端口号,以便人们不必在地址栏中键入 mysite.com:81 吗?

I want to run a web server on my home network but my ISP doesn't let incoming requests from port 80, so I have to use port 81, is there a way I could hide the port number from my domain so that people don't have to type mysite.com:81 in the address bar?

我试图使用SRV记录,但失败之后很多时候我意识到浏览器需要服从SRV记录而不是因为它不起作用。

I tried to use an SRV record but after failing so many times I realized that the browser needs to obey the SRV record and it doesn't so that's why it doesn't work.

注意
我的ISP也不会让我购买静态IP所以我必须使用noip.com提供的动态DNS服务。

Note My ISP also wouldn't let me buy a static IP so I have to use a dynamic dns service provided by noip.com.

推荐答案

您需要在服务器上执行端口转发或重定向请求。

You need to do either port forwarding or redirect requests on server.

例如在 8080上运行服务器 port并将所有请求从端口80重定向到8080.

For example run server on 8080 port and redirect all requests from port 80 to 8080.

请参阅:甲pache VirtualHost:如何ServerName一个不同于80的端口

这篇关于端口80被ISP阻止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆