Common website ports
The common server software (application) assigned ports are as follows:
FTP: 21
SSH: 22
MYSQL: 3306
DNS: 53
HTTP: 80
POP3: 109
Https: 443
……
Of course, the above can be customized and modified to other port numbers.
1. Ports below 1024 are mostly system ports. For example, port 80 is the default web website access port of the server system. As long as the application does not occupy the port, you can also use port numbers below 1024, but it is recommended not to use port numbers below 1024, especially when using custom port numbers.
2. In theory, port numbers above 1024 can be allocated and used by yourself. For example, you can customize a 2506 port access server for FTP, a 30689 port access server for SSH, etc.
3. In order to ensure the security of the server system, we should reduce the number of open ports. Many useless port numbers are vulnerable to hacker attacks.
[Essential Analysis]
In essence, access to any website is achieved through the combination of the server’s IP (xxx.xxx.xxx) and port number (xx) accessed. Use a: to connect them.
[For example: 119.75.217.109:8080, the complete access is: http://119.75.217.109:8080/. As for the http:// part, if you don’t understand, check the information yourself. 】
【1】, because the IP number of the server is too difficult to remember and unimageable, the so-called "domain name" appeared. The meaning of "domain name" is to represent a certain server IP in the form of a string like xxx.xxx.xx. In essence, they use mapping and binding parsing to process it.
[For example: www.baidu.com (requires special registration and registration, easy to manage, no conflict), when you enter www.baidu.com, it means accessing the server with IP 119.75.217.109. At this time We still don’t know which port we want to access, so let’s talk about ports. 】
【2】, the port is also difficult to remember, which is very annoying. Therefore, for convenience, the port used by the browser to access the website is set to port 80 by default.
It looks like this: http://119.75.217.109:80/
After this rule, everyone uses port 80 as the default. Therefore, all freely accessible websites in the world are basically accessed through port 80 by default.
In this way, since it is already defaulted, why bother writing it out? So, port 80 was directly "omitted". This becomes: http://119.75.217.109/, and finally becomes: http://www.baidu.com/
[3], combining the two points of [1][2], It can be known that when the user enters: www.baidu.com in the browser address bar, the exact process is as follows:
[When ordinary people use it] www.baidu.com =>
[Program processing] http://www.baidu.com/ =>
[Actual access address] http://119.75.217.109:80/
[4], Through the above description, we will easily find that the address looks like this:
http://119.75.217.109:8080/
http://109.105.34.75:2569/admin Addresses such as /
are correct website access addresses.
Note: For a more professional explanation of domain names and ports, please check the relevant information. This is relatively abstract.
This picture shows direct access to Baidu homepage through IP
Extended part
1, a server Many websites with different domain names can be stored on the Internet, and they can all use the same port 80. They are bound and resolved by different domain names to the same server IP address and in different directories
2. Many secondary websites can be stored on one server. Websites with domain names can all use the same port 80. They are bound by different second-level domain names and resolved to different directories of the same server IP address.
For more technical articles related to frequently asked questions, please visit Learn in the FAQ column!
The above is the detailed content of How to check the port number of a website. For more information, please follow other related articles on the PHP Chinese website!

如果想要在steam里查阅一些相关的信息或者和朋友分享一些网站链接,要怎么操作呢?steam能输入网址吗?当然是可以的,下面小编就来教教大家如何在Steam内打开网址的方法。 具体方法: 1、首先,我们打开steam。 2、点击设置选项。 3、然后切换到界面标签。 4、勾选显示地址栏。 5、然后再地址栏内输入网址即可使用浏览器。

UDP常用端口号有53、69、161、2049、68、520。UDP使用端口号为不同应用保留各自数据传输通道:1、网络文件系统(NFS),端口号为2049;2、简单网络管理协义(SNMP),端口号为161;3、域名系统(DNS),端口号为53;4、简单文件传输系统(TFTP),端口号为69;5、动态主机配置协议(DHCP),端口号为68;6、路由信息协议,端口号为520等。

php检测网址是指使用PHP编程语言来验证输入的字符串是否符合网址的格式。检测网址的方法:1、使用正则表达式进行网址校验,可以使用“preg_match”函数来进行正则匹配,如果URL符合模式;2、使用内置函数进行网址校验,使用“filter_var”函数和“FILTER_VALIDATE_URL”过滤器来验证。

DHCP服务的端口号是68和67。dhcp是一个局域网的网络协议,它通常被应用在大型的局域网络环境中,主要作用是集中的管理、分配IP地址,提升地址的使用率。DHCP协议采用UDP作为传输协议,主机发送请求消息到DHCP服务器的68号端口,DHCP服务器回应应答消息给主机的67号端口;这两个端口是正常的DHCP服务端口,可以理解为一个发送,一个接收。

常用的PHP端口号有HTTP端口号(80)、HTTPS端口号(443)、FTP端口号(21)、SMTP端口号(25)、POP3端口号(110)、IMAP端口号(143)等。详细介绍:1、HTTP端口号(80),通过HTTP端口号,PHP应用程序可以接收和处理来自客户端的HTTP请求;2、HTTPS端口号(443),PHP应用程序可通过HTTPS端口号与客户端建立安全的连接等等。

教你如何利用PHP去除网址路径的后缀在网站开发中,经常会遇到需要去除网址路径后缀的需求,以实现更加美观和规范的URL。今天我们将来学习如何利用PHP去除网址路径的后缀,让我们一同探讨这个问题。首先,我们需要明确一下我们想要实现的效果。通常,网址路径后缀指的是URL中的文件扩展名,比如.php、.html等。我们的目标是在用户访问带有后缀的URL时,可以自动去

哪有微软正版win10镜像系统iso下载?如今win10系统软件及其慢慢变成流行电脑操作系统,许多客户都是会选择该系统软件,因此接下来小编来跟各位说说win10镜像下载的网址有什么.win10镜像下载网址有什么:1.进到微软Windows10官方网下载工具网页页面,进到查询马上下载工具点一下下载就可以。网址:https://www.microsoft.com/zhcn/softwaredownload/windows10。2.开启下载优良的Windows10下载工具,假如您只想要下载系统镜像,那

mysql默认端口号是3306,其是一个开源的关系型数据库管理系统,常用于网站和应用程序的数据存储和管理,如果需要更改mysql的端口号,可以通过编辑mysql的配置文件来实现,编辑后,需要重启mysql服务来使更改生效,并在连接mysql时指定新的端口号。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver Mac version
Visual web development tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download
The most popular open source editor

Notepad++7.3.1
Easy-to-use and free code editor
