keecode logokeecode
22

SSH/SFTP

Secure Shell / Secure File Transfer

TCP
File Transfer

Port Information

Port Number

22

Protocol

TCP

Category

File Transfer

Common Usage

URL with Port

http://localhost:22
https://example.com:22

Node.js/Express Server

const express = require('express');
const app = express();
const PORT = 22;

app.listen(PORT, () => {
  console.log(`Server running on port ${PORT}`);
});

Docker Port Mapping

docker run -p 22:22 myapp

# In docker-compose.yml
ports:
  - "22:22"

Firewall Configuration

# Linux/Ubuntu firewall
sudo ufw allow 22/tcp

# Check if port is in use
netstat -an | grep 22