eaposztrof
Posts: 1
Joined: Tue Dec 25, 2018 11:02 pm

Why port 58804 is open?

Thu Dec 27, 2018 12:12 am

Please help me to debug why port 58804 is open?

Code: Select all

pi@raspi:~ $ nmap -p0-65535 192.168.1.105
Starting Nmap 7.40 ( https://nmap.org ) at 2018-12-27 02:03 EET
Nmap scan report for 192.168.1.105
Host is up (0.00026s latency).
Not shown: 65531 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
5900/tcp  open  vnc
58804/tcp open  unknown
Nmap done: 1 IP address (1 host up) scanned in 4.15 seconds
pi@raspi:~ $ netstat -na | grep 58804
tcp        0      0 0.0.0.0:58804           0.0.0.0:*               LISTEN
tcp6       0      0 :::58804                :::*                    LISTEN
udp        0      0 0.0.0.0:58804           0.0.0.0:*
udp6       0      0 :::58804                :::*

Code: Select all

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
Sry if an apropiate q here, please help me to find the right place.

n67
Posts: 938
Joined: Mon Oct 30, 2017 4:55 pm

Re: Why port 58804 is open?

Thu Dec 27, 2018 6:46 am

Install lsof, then do (as root):

Code: Select all

lsof -P -i :58804
That should tell you what's going on.
"L'enfer, c'est les autres"

G fytc hsqr rum umpbq rm qyw rm rfc kmbq md rfgq dmpsk:

Epmu Sn!

J lnacjrw njbruh-carppnanm vxm rb mnuncrwp vh yxbcb!

User avatar
rpdom
Posts: 15180
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Why port 58804 is open?

Thu Dec 27, 2018 8:36 am

n67 wrote:
Thu Dec 27, 2018 6:46 am
Install lsof
Or just use netstat ,which I can see is already installed, with the -p option.

Code: Select all

sudo netstat -ltnp | grep 58804

User avatar
HermannSW
Posts: 1489
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Why port 58804 is open?

Thu Dec 27, 2018 12:30 pm

netstat seems to be more informative for a service installed on port 9080 on my Raspbian:

Code: Select all

pi@raspberrypi3BplusX:~ $ lsof -P -i :9080
pi@raspberrypi3BplusX:~ $ sudo netstat -ltnp | grep 9080
tcp        0      0 0.0.0.0:9080            0.0.0.0:*               LISTEN      307/uv4l            
pi@raspberrypi3BplusX:~ $
⇨https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://gitlab.freedesktop.org/HermannSW/gst-template
https://github.com/Hermann-SW/fork-raspiraw
https://twitter.com/HermannSW

Return to “Raspbian”