Questions tagged [netstat]

netstat is a tool for viewing active network connections, listeners and sockets.

netstat is a tool for viewing active network connections, listeners and sockets.

322 questions
0
votes
1 answer

Finding Network Status of specific process name

I am looking for the cleanest way on linux to find the port status for a port being used by a specified program name via the command line. I have seen that netstat -p lists all pids but haven't seen anything corresponding to specific process names.…
Moev4
  • 103
  • 2
0
votes
1 answer

100 TIME_WAIT Connections to 1433 (sqlserver) port from one remote IP

What to do? Block that IP in firewall? What is this?
Igor Golodnitsky
  • 287
  • 1
  • 2
  • 13
0
votes
3 answers

Which local process is connected to given server on given port?

On Linux, I can simply: netstat -ntp | grep server_ip:port And I get PID and process name of the program that is making given connection. But how do I do it on Solaris?
user13185
0
votes
0 answers

IPtables shows the Port number but unable to access site from remote machine on same network

/etc/systables/iptables has the following line -A INPUT -p tcp -m tcp --dport 4000 -j ACCEPT I tried sudo service iptables save sudo service iptables restart the above did not open the port when I try from the browser on remote machine on the same…
Tims
  • 101
0
votes
0 answers

Martian packet with ARP broadcast traffic

Server nodes keep getting ARP broadcast traffic and becoming martian packets due to assymatric routing. I was known that when strict filtering is enabled with net.ipv4.conf.eth0.rp_filter = 1, the packet gets discarded without any further processing…
0
votes
0 answers

PHP Error waiting on socket

I'm getting problems with ssh2 and fread php function that started on a few days. On the apache error log show: ssh2_connect(): Error starting up SSH connection(-9): Error waiting on socket fread(): Failure 'Error waiting on socket' (-9) I'm…
0
votes
2 answers

netstat no support on this system

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 this command return me that : netstat: no support…
darkomen
  • 103
  • 3
0
votes
0 answers

fuser not listing the process even netstat and lsof list

hostserver:~# lsof | grep *:6343 sflowtool 979324 root 3u IPv6 1443815323 0t0 UDP *:6343 hostserver:~# netstat -ntlup | grep 6343 udp6 0 0 :::6343 :::* …
0
votes
0 answers

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 adding new interface Note: Due to hide my server…
0
votes
1 answer

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 port exhaustion issue and we want to know which…
0
votes
1 answer

What does `netstat -y` on Windows do?

From the help page of Windows netstat, I got this: -y Displays the TCP connection template for all connections. Cannot be combined with the other options. Google results are all same sentence from the help page. Does anyone know what is…
n0obiscuitz
  • 109
  • 2
0
votes
0 answers

how to continues netstat a port and save it to text file with time stamp for each netstat

I am using a system which is integrated to other system using a specific port and recently I am facing multiple interruption in the integration, and I need to monitor the port "48823" for a complete day and save it to a text file with time stamp for…
Hossam M
  • 1
  • 1
0
votes
0 answers

Why NFS is listening to a port but not showing the process name, is there any security risk if no firewall is set?

I'm using ubuntu 22.04 and have mounted an NFS storage, here is my fstab file ftpback-bhs5-26.ip-149-56-30.net:/export/ftpbackup/ns524316.ip-xxx-xxx-xxx.net /media/backup nfs vers=4.0 0 0 When checking the ports withnetstat -tunlp, I suddenly found…
maP1E bluE
  • 163
  • 8
0
votes
1 answer

Nginx change default IP form 0.0.0.0 to pecific IP

I have nginx running as a web server. The virtual host have the IP specific configuration with IP addresses listed, however whtn I check netstat Nginx is litening on 0.0.0.0:80. I would like to change this to a specific IP. The server has 2 network…
Tibby
  • 215
  • 1
  • 3
  • 9
0
votes
0 answers

How to block flooding "empty" connections from single IP

Right now netstat lists 200 - 4000 connections to the same IP in India. Seems like some kind of flooding attack to me. e.g: tcp 0 0 [removed] 182.65.238.[removed].in-:mysql TIME_WAIT I've tried to kill current connection with this…
jan
  • 1
  • 1