what port does sftp use

11 months ago 20
Nature

SFTP (SSH File Transfer Protocol) uses port number 22 by default. This is because SFTP runs over the SSH protocol as a subsystem, and the SSH server at port 22 listens for client requests. However, SFTP can be configured to listen on different ports if desired. SFTP only requires one port for moving data over an internet connection, making it more secure and easier to use than other protocols, such as FTP/S, which require trading partners to open a range of ports behind their firewalls.