Skip to main content

Questions tagged [netstat]

Netstat (network statistic) is a tool, common to Windows, Unix and Linux, used to obtain information about network connections (outbound and inbound), routing tables, and a range of information on the use of statistics the network interface. Netstat.exe command line that shows all open ports for Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).

0 votes
1 answer
2k views

How do I open port 8100 on VMware?

How do I access port 8100 from a VM? I want to access port 8100 on a linux VM. I am running lubuntu. I have tried multiple questions already and none of them seem to work: Connection refused on ...
Whitecat's user avatar
  • 569
1 vote
1 answer
1k views

sudo netstat -antp not showing PID

i am testing stuff with sockets and i encountered that strange case : i coded i very simple tcp server in c, i made it block after accept(), just to see what happen when accepting multiple connection ...
joseph M'Bimbi-Bene's user avatar
1 vote
1 answer
3k views

Listen for incoming request on port on Linux, then run command

I am after as lightweight as possible solution to listen on a port for a specific request, then run a command should the port be hit and the correct request be recedved. Eg. Send a request to 192.168....
Elliot Reed's user avatar
-2 votes
1 answer
2k views

Amazon (AWS) zagent is it a malware / remote? [closed]

i ran netstat command and found some amazon tcp connections that i don't know zagent1644.h-cdn.com 142.44.212.29 zagent1642.h-cdn.com 145.239.8.193 zagent859.h-cdn.com 217.182.138.56 zagent1678.h-...
mr.infin8's user avatar
3 votes
1 answer
3k views

UDP port appears in netstat but not in lsof?

After using Mosh, I noticed that UDP ports held by mosh-server were still in use after all processes exited. Running netstat -ln, it shows that these ports are in use: Active Internet connections ...
mxxk's user avatar
  • 371
0 votes
0 answers
97 views

How to manually send download request to an application

I'm downloading a file from telegram desktop app. I want to see if it's possible that I can find a download link and use a tool like lftp to download the file myself with multiple tcp connections if ...
yukashima huksay's user avatar
0 votes
2 answers
611 views

detailed understanding of netstat -an output on linux

I tried to look for a good doc on netstat especially for the options -an but cannot find anything detailed enough. example 1: tcp 0 126 android.home:58797 par10s34-in-x0e.1e100.net:https ESTABLISHED ...
narb's user avatar
  • 113
18 votes
3 answers
25k views

`netstat` command in WSL return empty list

I install python and start python -m SimpleHTTPServer in windows WSL. But the command netstat -an return an empty list. And of course i can't visit the url http://127.0.0.1:8000 in windows browser. ...
WalleZhang's user avatar
2 votes
1 answer
2k views

How to interpret outputs from netstat -sp TCP?

I really think someone is accessing my pc illegally and I've read it on many sites that netstat can help me how to trace it. I'm really not into networking so it's hard for me to interpret these ...
JkAlombro's user avatar
  • 121
2 votes
1 answer
232 views

How to log all ports once opened by a process/app in Linux for short time?

I have an app that makes some kind of upd ping to the network and for some short time listens for some port in order to receive some feedback during some timeout. It is short enough to observe if with ...
Ilya Yevlampiev's user avatar
5 votes
2 answers
24k views

Netstat listening programs on ports alternative on Debian 9

What is the alternative to command netstat -ntpl on Debian 9? I am using this command to check what program is listening on port. Alternatively with parameters -ntupl (with u) including UDP.
Misaz's user avatar
  • 626
2 votes
1 answer
4k views

How to find attached processes via unix domain socket?

I used netstat to acquire RefCnt column. And there are 2 attached processes via /var/run/mysqld/mysqld.sock. How to find their PIDs? # netstat -a -p -A unix Proto RefCnt Flags Type State ...
tengreencolors's user avatar
5 votes
3 answers
20k views

Powershell one-liner to show process on same line as port using netstat issue

First I just want to make sure user Erik Bitemo gets credit for the original code I'm using here. The output is what I'm looking for with one exception: One of the ports disappears and "System System5"...
ex28's user avatar
  • 81
1 vote
1 answer
1k views

How to find out the PID which generates traffics to port 9229 in MacBook

There are unknown traffics to port 9229 in my MacBook. $ sudo tcpdump -i any -n port 9229 ...... 12:10:39.176502 IP6 ::1.62261 > ::1.9229: Flags [S], seq 638850191, win 65535, options [mss 16324,...
Sam's user avatar
  • 31
5 votes
1 answer
3k views

Close ssh tunnel without root and without killing all other ssh connections

I have an ssh tunnel listening on a local port, say 8888, opened from a remote machine with ssh -R 8888:localhost:80 myuser@myhost. I need to write a script for "myuser" on "myhost" that will close ...
martin.macko.47's user avatar

15 30 50 per page
1
3 4
5
6 7
15