Home  >  Article  >  Backend Development  >  怎么设置Apache 访问8081端口

怎么设置Apache 访问8081端口

WBOY
WBOYOriginal
2016-06-13 12:22:212504browse

如何设置Apache 访问8081端口
单位用电信的网,多出来一个IP地址做服务器,但是端口80和8080是封的  没办法 弄8081端口。可是访问域名的时候必须要:8081才可以访问,想问一下大家 如何配置apache转发  不用加8081  直接输入域名就可访问呢?
------解决思路----------------------
不可以
本来访问时就要加端口号的,只是当端口号为 80 时可以缺省而已(你不写不等于网络数据流中不写)
由于 80 不可用,所以也就不可能通过 80 去转 8081 了
但是你可以在公网上租一个空间,通过那个空间转到你的 8081

既然是单位,都掏点银子让电信解除封锁就是了。其实他们霸道的做法只是为了让自己少担风险

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn