Is there any standard alternative HTTPS port?

人走茶凉 提交于 2019-11-30 06:35:00

There is no standard about that, but port 8443 is sometimes known as the http-alt, and it seems the only one being popularly used as alternative HTTPS port.

It may have become popular because of mod_nss (an HTTPD module alternative to mod_ssl) using it on its default configuration.

As already stated, I'd say there's no standard alternative port to use. It's up to you which port to use.

Personally I like to use 443xx with xx being any 2‑digit number, e.g. 44301. According to the Wikipedia list of TCP/UDP port numbers, the ports 4430044399 are unused. (For multiple HTTP ports I use 80xx in the same way. 8008 and 8080 are officially alternative ports for HTTP.)

Note that I use such alternative ports only for temporary or personal web services. If you want to run multiple web services on the same IP in production, I suggest you to set up a SNI proxy such as sniproxy. (However, if your webservices are all running on the same web server such as Apache, setting up virtual hosts is sufficient.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!