有关我在改SSH端口号时的错误,希望大家不要再范了
今天,我想把我的VPS重新安全一下,就把SSH的22端口改成了198825,结果就SSH用不了了,郁闷的要死,没有办法改回来,所以重新了VPS,后来在网上查了一下端口号范围(以后改的话只能在65535之内并且不能和现有的冲突):端口号从1---65535
应用协议 端口号/协议 说明
ftp-data 20/tcp FTP, data
ftp 21/tcp FTP. control
telnet 23/tcp
smtp 25/tcpSimple Mail Transfer Protocol
time 37/tcp timserver
time 37/udp timserver
domain 53/tcp DNS
domain 53/udp Domain Name Server
tftp 69/udp Trivial File Transfer
gopher 70/tcp
http 80/tcp www-http World Wide Web
pop3 110/tcp Post Office Protocol-Version 3
nntp 119/tcp Network News Transfer Protocol
netbios-ns 137/tcp NETBIOS Name Service
netbios-ns 137/udp NETBIOS Name Service
netbios-dgm 138/udp NETBIOS Datagram Service
netbios-ssn 139/tcp NETBIOS Session Service
IMAP 143/tcp Internet Message Access Protocol
SNMP 161/udp SNMP
SNMP trap 162/udp SNMP trap
irc(聊天工具) 194/tcp Internet Relay Chat Protocol
ipx 213/udp IPX over IP
ldap 389/tcpLightweight Directory Access Protocol
https 443/tcp
https 443/udp
uucp 540/tcp
ldaps 636/tcp LDAP over TLS/SSL
doom 666/tcp Doom Id Software
doom 666/udp Doom Id Software
phone 1167/udp Conference calling
ms-sql-s 1433/tcp Microsoft-SQL-Server
ms-sql-s 1433/udp Microsoft-SQL-Server
ms-sql-m 1434/tcp Microsoft-SQL-Monitor
ms-sql-m 1434/udp Microsoft-SQL-Monitor
mysql 3306
php 3307
wins 1512/tcpMicrosoft Windows Internet Name Service
wins 1512/udpMicrosoft Windows Internet Name Service
l2tp 1701/udp Layer Two Tunneling Protocol
H.323/H.225 TCP 1720
各位不要我和范一样的错了
页:
[1]