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

Apache creates lots of processes in CLOSE_WAIT state and than crashes

I have a web server (centos) with Apache 2.4.3 and in peak times Apache becomes unresponsive until I restart it. Before it happens there is suddenly spike of httpd proccesses count and it seems that the problem is that there are many httpd processes…
David
  • 1
  • 1
  • 1
0
votes
1 answer

What does this netstat output mean?

I run a moderately active website on a dedicated server. In the course of protecting against (D)DOS attacks, I ran netstat to get a count of active connections. This produced a rather unusual result in that it showed 1000+ connections from the…
0
votes
1 answer

Apache SSL not accepting outside traffic

Running Apache 2 on Ubuntu 11 in Amazon EC2. Tried to add a new SSL VirtualHost by doing the following: Added "Listen 443" to ports.conf. Added new VirtualHost in my enabled site and "SSLEngine on". The strange thing is this: I can curl…
0
votes
2 answers

Numerous TIME-WAIT connections

I am running on a Solaris system. I wrote a Korn shell script that every 30 seconds runs this line: netstat -a | grep TIME-WAIT | wc -l This has been working fine for a year. Now I move into a new lab and when I run it the number of connections in…
Mike Jr
  • 187
  • 1
  • 7
0
votes
1 answer

Hundreds of local loopback TIME_WAIT connections on port 7080, Plesk

If I run netstat -tnep I see about two dozen or so regulra connections, then hundreds and hundreds of local loopback conenctions to port 7080. I assume this is something to do with Plesk, but could anyone tell me if this is problematic and how to…
Brandon
  • 426
  • 5
  • 17
0
votes
4 answers

How to I start with a remote IP address connected to my computer to the process that has opened the connection?

If I type "netstat", I can see a list of IP addresses that my PC is connected to. If I start with an IP address, how do I find the process that has opened the connection to said IP address?
Contango
  • 1,150
  • 5
  • 15
  • 31
0
votes
1 answer

Port scanning from localhost

I see lot of tcp connections on different ports on my server with 'TIME_WAIT' status. Just simple port scan, but i cant see ip address of this bastard because connections is going from my nginx. Can you please give me a tip how can i see IP address…
Jaels
  • 67
  • 1
  • 11
0
votes
1 answer

Netstat shows Time_Wait in MySQL Master to master replication

During my master to master replication, I got a problem on telnet. After fixing it also my replication on both side doesn't work. Master 2 replicates all the database of Master 1 but Master 1 is unable to replicate it. When I see "netstat" command…
Udhy
  • 103
  • 3
0
votes
1 answer

Mountain Lion, How can I release port?

$ netstat -ltanp tcp | grep 8000 | grep LISTEN tcp4 0 0 *.8000 *.* LISTEN I want to release this port When I do $ lsof -i:8000 I get nothing I even restarted the machine, nothing helps Please let me…
learner
  • 163
  • 2
  • 9
0
votes
1 answer

ss utility does't work properly

I've learned that ss, which is base on netlink, is much faster than netstat when amount of sockets is large. And the secret is here. But when I tested on my suse linux minutes ago, the result confused me. It seems ss can't work properly(my linux…
user76927
  • 109
  • 1
0
votes
1 answer

Very strange localhost connections on linux workstation. Need help identifiying the source

The following is the output of netstat on a Ubuntu machine. Can someone help decrypt the output? I am especially curious what the ::1:43213 connection is. Also, why are there so many connections from localhost to localhost on both v4 and v6…
Max Brown
  • 1
  • 1
0
votes
1 answer

fast opening and closing connection with a specific port

We have a Main application named "Trevor" installed in 2008R2 machine named "TEAMER12" which is slow now. One more application named "TVS" also running in and found there were many connections per second occurring to port 5009. netstat tool…
michale
  • 11
  • 7
0
votes
1 answer

size of packet icmp with netstat TX

I am confused with the size of packet icmp. I just did a simple initial netstat, where for eth0 : TX-OK = 485 after 1 ping message is send, again I see in netstat TX-OK = 488 So, I just want to know how does the TX actually intepret the icmp packet…
sateayam
  • 137
  • 2
  • 8
0
votes
2 answers

restart counter in netstat

I am using Ubuntu. I need to count the number of packet received in a specific interface. I found this can be done using netstat. However, I need to count starting from t=zero until a specific time I want (t=...) and the counter shall be start from…
sateayam
  • 137
  • 2
  • 8
0
votes
1 answer

When Does the Linux & Windows' Samba Port Connection Close?

After connecting to a samba share, then disconnecting, netstat still shows that the ports are ESTABLISHED, even when the clients are on SUSPEND, HIBERNATE, or have SHUTDOWN. Looking over the samba documentation, I know now that I can set a period so…
fadmcrank
  • 1
  • 3