Questions tagged [netstat]
netstat is a tool for viewing active network connections, listeners and sockets.
328 questions
0
votes
1
answer
208
views
Mirrored/Inverted TCP connections between local processes
I have a web server with SignarR clients. The topology is:
Client -- Caddy -- IIS
Client - Just JS SignalR client.
Caddy - As reverse proxy.
Common exe file or WSL 1 service. (I tried both options and ...
1
vote
1
answer
161
views
`lsof` doesn't display PID that `netstat -pln` shows
I'm new in this community.
I'm trying to kill a PID and list it with lsof -t but with no luck. The lsof -t -i:port doesn't find the PID. But it clearly shows when I run the netstat -pln:
deploy@debian-...
-1
votes
1
answer
278
views
Can't see my public IP in traceroute [closed]
From this traceroute:
% traceroute google.com
traceroute to google.com (142.250.201.78), 64 hops max, 40 byte packets
1 192.168.1.1 (192.168.1.1) 5.003 ms 3.689 ms 3.323 ms
2 100.64.128.1 (100....
1
vote
1
answer
427
views
224.0.0.0/4 In IPv4 Routing Table
Has anyone seen this before, I noticed some weirdness and ran a netstat -r and found this atypical IP address I have never seen before:
Active Routes:
Network Destination Netmask ...
0
votes
1
answer
150
views
linux + how to close connection that are not in used
from netstat -anp | grep :8088 | grep EST
we can see the following connection ( is example from our hadoop server )
tcp 0 0 192.83.23.112:42360 192.83.66.114:8088 ESTABLISHED ...
0
votes
1
answer
1k
views
RHEL + how to know the limit of concurrent connections number per port?
how to know the number of concurrent connections per port on RHEL 7.x machines
for instance, let say we connect to port 9080 with XXXX concurrent connections.
wget http://server_mngmnt.jupiter.com:...
-1
votes
1
answer
257
views
Why "netstat" doesn't show the ip of a server I'm connected to?
I have an audio stream from a Youtube video obtained by youtube-dl -g <URL> (this command outputs two links, for video and audio respectively). They have this form; https://rr1---sn-uqx2-w50l....
2
votes
0
answers
353
views
What does it mean when netstat outputs a dash in pid / program name column?
Here is some lightly modified output from netstat (I removed the addresses and names)
a@xxxxx:/app# netstat -p
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address ...
-1
votes
1
answer
166
views
How to get the command of a process by an established port while ss, netstat and lsof failed?
Recently I have noticed extremely high network usage on a ubuntu server. I identified the port with nethogs. It connects to a SMB server within my LAN. It should be connected at boot for the dozens of ...
3
votes
1
answer
2k
views
Blocking traffic from specific countries. How to kill existing connection?
Using Linux Debian Bookworm.
Problem
I want to block all incoming connections to my server coming from specific countries.
Edit
As someone pointed out in the comments, I really shouldn't be doing this ...
0
votes
2
answers
2k
views
netstat no support on this system [closed]
in dealing with try to resolve another issue into my Ubuntu 22 OS
I need to check out the ports that tightvnc is listening on for connections.
I use this command : sudo netstat -lvp | grep vnc
BUT ...
1
vote
1
answer
863
views
What does "no ports" on netstat -s mean?
On Windows server 2016, when I execute, in a cmd prompt, "netstat -s" I get a bunch of statistics. One of those is "No Ports".
What does this mean? Is this the number of times ...
0
votes
0
answers
213
views
Can't create a pseudo network interface on Debian 11
I have a KVM based Debian 11 (bullseye) VPS with internet access on eth0 network adapter. The public IP has been assigned by DHCP. The IPs and Routes are as what follows:
ifconfig and iptable BEFORE ...
-1
votes
1
answer
425
views
Take NetStat Dump After Every X Minutes
We have a lot of port exhaustion issues recently. I was reading https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcp-ip-port-exhaustion-troubleshooting?source=recommendations
@...
0
votes
1
answer
1k
views
NetStat Group By Process Id and Show Count
Is there any way to group the output given by netstat into process? I am running netstat -ano and doing manual count to know which process is using how many ports. I am using Windows Server.
We have ...