CyberHunter
// DevOps, cloud & containers

Port 4195: AWS protocol for cloud remoting solution

Port 4195 is assigned by IANA to aws-wsp (AWS protocol for cloud remoting solution).

4195

How aws-wsp works

DevOps, cloud & containers
adminhostaws-wsp adminhostaws-wsp

Commands sent to port 4195 create and control containers or cluster resources on the host.

Transport
TCP · UDP · SCTP · DCCP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 4195 dangerous?

We have no specific security note for port 4195. Its risk depends on the program actually listening on it. General advice for devops, cloud & containers services:

  • Container and orchestration APIs give full control of hosts: require mutual TLS and RBAC.
  • Never expose them to the Internet.
  • Rotate tokens and certificates and audit who has access.
02 Registry

IANA registry entries for port 4195

ServicePortTransportDescriptionReferenceUpdated
aws-wsp 4195 TCP, UDP, SCTP, DCCP AWS protocol for cloud remoting solution - 2020-04-06

// source: IANA service name and port number registry

03 Check it

Which program uses port 4195, and is it reachable?

Linux

sudo ss -ltnup 'sport = :4195'      # process listening on 4195
sudo lsof -nP -i :4195

macOS

sudo lsof -nP -i :4195

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 4195 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 4195
netstat -ano | findstr :4195

From another machine

nmap -p 4195 -sV <host>
sudo nmap -sU -p 4195 <host>
nc -zv <host> 4195

Block it in the firewall

sudo ufw deny 4195/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 4195" -Direction Inbound -LocalPort 4195 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 4195 used for?

Port 4195 is assigned by IANA to aws-wsp (AWS protocol for cloud remoting solution).

Is port 4195 TCP or UDP?

Port 4195 is registered for TCP and UDP and SCTP and DCCP.

Is it safe to open port 4195?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Container and orchestration APIs give full control of hosts: require mutual TLS and RBAC.

How do I check if port 4195 is open?

On Linux run "ss -ltnup 'sport = :4195'", on macOS "lsof -nP -i :4195", and on Windows "netstat -ano | findstr :4195" to see the local process. From another machine, "nmap -p 4195 <host>" shows whether it is reachable.

05 Related