FTP service, Web service

FTP service, Web service
1. FTP overview and construction
1. FTP is an application layer protocol, designed with C/S structure, and 21 (control connection) and 20 (data connection) of TCP are used in the transport layer.
2. Build an FTP site

2. Commonly used FTP server programs
1. IIS: an optional role in the role of Windows Server 2012 R2. The
IIS component mainly provides services such as WWW, FTP, SMTP, etc.
3. Configure the default FTP website
1. Install the FTP server and
add roles (IIs/ ftp)
2. Configure default FTP
1) Home directory (C:\inetpub\ftproot)
2) Account security: anonymous access by default
3) Directory security
Authorized access
Denied access
4) Access: FTP://IP or domain name
4. FTP Client
1. Common FTP client programs
1) www browser
2) command line tool
command line (get, mget to download multiple, put, mput to upload multiple)
Note: use the command to access the FTP anonymous user anonymous (password is empty ) ) or ftp (password ftp)
5. Use Serv-U to build an FTP server
2. Serv-U: You can set any PC as an FTP server
Other FTP server programs:
Xlight ftp server
RaidenFTPD
EFT Server
FileZilla Server (free and open source)
Six, WEB service
<html> html start
<head>
<title></title> title tag header tag
</head>
<body>
</body> body tag
</html> html end
Seven, TCP protocol and UDP protocol
1, TCP transmission control protocol
2, TCP advantages and Disadvantages Advantages: Reliable, connection -
oriented protocol
Disadvantages: Low transmission efficiency
3. UDP User Datagram Protocol
4. Advantages and disadvantages of UDP
Advantages: high transmission efficiency
Disadvantages: Unreliable, connectionless services
And the corresponding port number
1. DNS (Domain Name System) Domain Name System
role: used to complete the mapping between domain names and IP addresses The
port number is 53 of TCP or UDP
2. SMTP Simple Mail Transfer Protocol
role: used to send and receive Mail; port number TCP 25
3. POP3 post office protocol version 3
function: used for client to receive mail; port number TCP 110
4. HTTP hypertext transfer protocol
function: used to transmit ordinary text and hypertext used by Internet browsers , audio and video data.
Port number is 80 of TCP
5. HTTPS secure hypertext transfer protocol
Function : provide encryption; port number is 443 of TCP
6. FTP file transfer protocol
function: used to transfer files; port number is 21 and 20 of TCP
7, TFTP is simple file transfer protocol
Function: used for file transfer; the port number is 69 of UDP
8. Telnet
function: used to remotely manage network devices such as computers or routers in text mode
;

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324629522&siteId=291194637