CyberHunter
Local dataset, no network
// Databases & caches

Port 2638: Sybase Anywhere

Port 2638 is assigned by IANA to sybaseanywhere (Sybase Anywhere).

2638

How sybaseanywhere works

Databases & caches
app:2638sybaseanywhere app:2638sybaseanywhere

The application sends a SQL query to the sybaseanywhere server on port 2638, which returns rows from its tables.

Transport
TCP · UDP
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 2638 dangerous?

We have no specific security note for port 2638. Its risk depends on the program actually listening on it. General advice for databases & caches services:

  • Bind the service to localhost or a private network, never to a public address.
  • Enable authentication, use per-application accounts and require TLS.
  • Watch for exposed Docker ports: publish them on 127.0.0.1 only.
02 Registry

IANA registry entries for port 2638

ServicePortTransportDescriptionReferenceUpdated
sybaseanywhere 2638 TCP, UDP Sybase Anywhere - 2021-12-03

// source: IANA service name and port number registry

03 Check it

Which program uses port 2638, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :2638

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 2638 is assigned by IANA to sybaseanywhere (Sybase Anywhere).

Is port 2638 TCP or UDP?

Port 2638 is registered for TCP and UDP.

Is it safe to open port 2638?

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. Bind the service to localhost or a private network, never to a public address.

How do I check if port 2638 is open?

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

05 Related

Latest vulnerability news

All news