CyberHunter
// Other services

Port 5320: Webservices-based Zn interface of BSF

Port 5320 is assigned by IANA to bsfserver-zn (Webservices-based Zn interface of BSF).

5320

How bsfserver-zn works

Other services
client:5320bsfserver-znresponse client:5320bsfserver-znresponse

The client sends a request to port 5320 and the bsfserver-zn service answers.

Transport
TCP
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 5320 dangerous?

We have no specific security note for port 5320. Its risk depends on the program actually listening on it. General advice for other services services:

  • Close the port if nothing on the host needs it.
  • Identify the process that listens on it (commands below) before opening it in a firewall.
  • Expose a service only to the networks that use it.
02 Registry

IANA registry entries for port 5320

ServicePortTransportDescriptionReferenceUpdated
bsfserver-zn 5320 TCP Webservices-based Zn interface of BSF - 2008-05-01
-5320-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 5320, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :5320

Windows (PowerShell)

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

From another machine

nmap -p 5320 -sV <host>
nc -zv <host> 5320

Block it in the firewall

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

Port 5320 is assigned by IANA to bsfserver-zn (Webservices-based Zn interface of BSF).

Is port 5320 TCP or UDP?

Port 5320 is registered for TCP.

Is it safe to open port 5320?

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. Close the port if nothing on the host needs it.

How do I check if port 5320 is open?

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

05 Related