CyberHunter
Local dataset, no network
// Web

Port 6842: Netmo HTTP

Port 6842 is assigned by IANA to netmo-http (Netmo HTTP).

6842

How netmo-http works

Web
browser:6842netmo-http browser:6842netmo-http

A browser sends an HTTP request to port 6842 and the netmo-http server sends the page back.

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)
Category
Web
01 Security

Is port 6842 dangerous?

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

  • Serve it over HTTPS only and check the HTTP security headers.
  • Keep admin consoles and development servers off the Internet.
  • Patch the application server and remove default credentials and sample apps.
02 Registry

IANA registry entries for port 6842

ServicePortTransportDescriptionReferenceUpdated
netmo-http 6842 TCP, UDP Netmo HTTP - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 6842, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :6842

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 6842 is assigned by IANA to netmo-http (Netmo HTTP).

Is port 6842 TCP or UDP?

Port 6842 is registered for TCP and UDP.

Is it safe to open port 6842?

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. Serve it over HTTPS only and check the HTTP security headers.

How do I check if port 6842 is open?

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

05 Related

Latest vulnerability news

All news