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

Exim established many connections to strange ips

I installed VestaCP and used their mail server for my domain mails. But when I run netstat on my server,it shows some strange connections. There are no problems with my mail server until now, I just worry about these connections. Does my server meet…
Huynh Vinh Phat
  • 115
  • 1
  • 6
0
votes
0 answers

Showing all http connections in vm instance

I have a Google Cloud VM instance running Debian and a dockerized Apache httpd inside. I'm trying to count all the http connections in the machine. I run this: for i in {1..1000}; do netstat -at | wc -l; sleep 0.2; done and then I run multiple…
Héctor
  • 187
  • 1
  • 4
  • 15
0
votes
1 answer

New netstat Ubuntu 20.10

I have been using netstat 1.42 without any problem but yesterday I installed a fresh VPS and when I try to set commands netstat does not show anything. I use this command to see all active TCP connections: netstat -tn 2>/dev/null | grep :80| awk…
0
votes
1 answer

Want to enable Windows Server firewall - how to know what ports to open

For added security, we're thinking of enabling the firewalls on our 2016 and 2019 servers. Currently, they're all behind our edge router/firewall, and every server has its firewall disabled. Sometimes, if the firewall is enabled and you install a…
00fruX
  • 123
  • 1
  • 9
0
votes
1 answer

Ngnix Closes The Connection Doesn't Return 301

struggling to get my hosts to work on port 80/HTTP and redirect to HTTPS. Discovered this when I gave out a URL and they said it didn't work but noticed a direct link to the site did work. I've done some digging and it looks like nginx isn't…
0
votes
0 answers

Why two TCP connections to mysql server?

When I connect to a mysql server via a client, it seems to create two new TCP connections each time, for example doing: $ netstat -a |grep mysql # tcp4 0 0 lmy.att.64710 ec2-54-00.mysql ESTABLISHED # tcp4 0 0 lmy.att.64705…
David542
  • 939
  • 3
  • 10
  • 15
0
votes
0 answers

OpenVPN Access Server has a lot of listening ports

I have setup OpenVPN Access Server for a small private cloud network. It works great, but I am wondering about all these 900 ports showing up in netstat from part of the system called openvpn-openss. what is it, and what are these ports for? There…
Jette
  • 113
  • 5
0
votes
0 answers

netstat shows a listening port with no pid and can't find pid with rpcinfo and ss and lsof

I tried bind nc on port 41120, but it said port has already been used. So I want to find out which process binded this port and if I can kill it. I executed netstat  -taupen| grep  41120 and it shows below: **tcp        0      0…
fajin yu
  • 195
  • 3
  • 10
0
votes
2 answers

Netstat port status

How can I see all ports and their status on my pc using netsat? (All 2^16 ports) And how can I list apps that have an open port in transport layer of my computer with application name and it's port? For the second question I got this but not sure…
m0ss
  • 105
  • 2
0
votes
1 answer

what are the options to close manual the port correctly or release the port on rhel machines?

we have redhat 7.5 server we are suspect that port 50070 not closed correctly by the service , ( we check by netstat and PID not found ) but from the log we can see that port is in use so we try to do the following for example , ss --kill state…
King David
  • 549
  • 6
  • 20
0
votes
1 answer

New and Unknown Netstat Entries

OS = Debian 10. When I run netstat -natp, I have two unidentified entries which are concerning. tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 24310/redis-server tcp6 0 0 :::4949 :::* …
0
votes
1 answer

Proxy service only responding on some IP addresses (others suck on SYN_RECV)

I have a server using a proxy service (WAF etc) which forwards packets to my server. I can see established SSL conenctions from all proxy netstat -an and the rest stuck in SYN_RECV: tcp 0 0 192.168.102.11:443 185.93.230.20:64966 …
morleyc
  • 1,150
  • 13
  • 47
  • 89
0
votes
1 answer

netstat how to exclude localhost from the result when using grep

When I run this command in my terminal: netstat -an | egrep ":80|:443" | sort I got this following output: tcp 0 0 172.104.10.125:48310 172.104.10.125:8081 TIME_WAIT tcp 0 0 172.104.10.125:48316 …
Kalib Zen
  • 137
  • 7
0
votes
1 answer

Linux service is listening and responding on ports it wasn't assigned and that don't show up in netstat

I have an Amazon Linux 1 instance that was created from a Solarwinds DPA AMI. I created this around 2 years ago. It is possible I did something weird back then to make this happen. Today, I upgraded Solardwinds DPA. I noticed that the listening…
Appleoddity
  • 3,488
  • 2
  • 13
  • 33
-1
votes
2 answers

how to get file download connections on linux

I have a site with video content (mp4 files). When people are watching videos, they are downloading video files from my site. I want to know the number of the active connections via the linux terminal. They are probably TCP packets on port 80.…
KoSMoS
  • 99
1 2 3
21
22