539
questions
-1
votes
1
answer
48
views
Command to retrieve send/receive internet traffiic, (in bytes), per process
I want to create a batch file to terminate processes which exceed 'a certain amount of internet'.
I just want a command to show the internet usage, send/receive (bytes), of each application/process.
...
0
votes
0
answers
44
views
Troubleshooting Connection Refused Errors Across Nodes in Cluster Setup
I have three nodes bound to a virtual IP, with each node connecting using port 2892. I initiate connections from node1 to node2 and from node2 to node3, both using port 2892. Below are the relevant ...
1
vote
1
answer
65
views
How to enable ss(another utility to investigate sockets) to see the joined multicast group IP address on a Linux host?
I have access to an internal tool which can be used to join a multicast IP:PORT and capture packets as a pcap file but the tool doesn't come with implementation.
When I run the tool, both netstat and ...
1
vote
0
answers
57
views
Weird active connections in NetStat
I recently ran netstat on my system and noticed some connections from an old Laravel project that I had previously deleted. Despite removing the project entirely, these connections are still present:
...
0
votes
0
answers
50
views
what is mean by " connection reset by peer"? [duplicate]
I am connecting multiple clients to single MQTT server Using MQTT Generic protocol. Suddenly at random time connection is getting disconnected and server goes into Disconnected status. This problem ...
2
votes
1
answer
69
views
Override read function, but i have problems when the file descripot is 3 or 4
I want to override the read function of netstat -tunap, when am running the strace for netstat -tunap the part that i am interested on overriding is this part right here,
openat(AT_FDCWD, "/proc/...
0
votes
0
answers
84
views
HttpClient does not create new connections in netstat
I'm trying to recreate common scenario when creating new instances of httpClient will create leave TIME_WAIT connections.
[HttpGet]
public async Task<IActionResult> TestOne()
...
0
votes
0
answers
41
views
Can't use rsDriver function in R
I can't run the rsDriver function in the RSelenium package
when I run this:
rd <- rsDriver(browser = 'chrome', chromever = '114.0.5735.16', verbose = FALSE, port= free_port(), iedrver = NULL)
I ...
0
votes
0
answers
208
views
How can I access information from /proc/net/tcp from code running in a k8s pod?
I'm currently trying to export prometheus metrics for TCP-related stats - that which can be found by polling /proc/net/tcp - and I'm finding that the sockets returned within the context of my main ...
0
votes
0
answers
151
views
CLOSE_WAIT persists forever in kubernetes container [Linux]
CLOSE_WAIT persists forever in kubernetes container [Linux]
Even though my APP running in Java uses less heap space; My container memory is high always.
On checking CLOSE_WAIT around 50 connections ...
1
vote
0
answers
62
views
Netstat continous mode on Android
I tried to run netstat on Android (specifically LineageOS) and I saw that it has only these options:
-r Routing table
-a All sockets (not just connected)
-l Listening server sockets
-t ...
0
votes
1
answer
761
views
How to solve netstat permission denied problem?
How can get ip address of a facebook messenger user by using android emulator?
I got message from an unknown user tring to blackmail in a sense (may not be financial) but i dont want him, but he had ...
0
votes
0
answers
294
views
Port 80 and 443 is used but i can not modify it
If I to the browser on my Laptop and go to 192.168.X.X:80 (ip of raspberry pi), then i receive the error
404 page not found
If I go to 192.168.X.X:81 which is also unused I receive the chrome error
...
1
vote
0
answers
52
views
Why does NextJS allow the development server to run, but not the production server?
On my dev machine I have some Ivanti application service running at 'TCP 0.0.0.0:3000' according to netstat. Running npm run dev works and netstat then shows two entries for 'TCP 0.0.0.0:3000'. When ...
0
votes
1
answer
809
views
How to find number of http(s) connections (TCP) opened by my node JS micro-service (using axios KeepAlive for http) config, in GKE k8s environment?
Problem Description/Context
I have a nodeJS-based application using Axios to make HTTP requests (Outbound REST API calls) against a web service (say https://any.example.restapis.com). And these HTTP ...
0
votes
2
answers
3k
views
how to get all the incoming connections in linux
netstat lists all the connections (incoming and outgoing)
how do I filter out just the incoming connections
I have tried the netstat command but it lists all the connections but j need only the ...
2
votes
1
answer
481
views
Failed to connect to localhost port 3918: Connection refused(R Rselenium)
Seeking help on how to resolve the subject line error.
The many previous posts and solutions referenced here have already been reviewed/tried.
In the past this same error has been resolved by updating ...
-3
votes
1
answer
5k
views
How can I see running ports on Windows 11? [closed]
I need to see port:8080 is running or not. And I tried:
netstat -a -b
and it returned error message "The requested operation requires elevation."
2
votes
1
answer
349
views
What's a reliable way to verify that a socket is open?
I'm developing a C# application, working with TCP sockets.
While debugging, I arrive in this piece of source code:
if ((_socket!= null) && (_socket.Connected))
{
Debug.WriteLine($".....
1
vote
1
answer
1k
views
Getting "fork/exec /usr/bin/wc: resource temporarily unavailable"
I am trying to execute a netstat command to find out number of ports in use using golang,
I am using the following code for that,
func PortCheck() int {
cmd := exec.Command("netstat", &...
8
votes
0
answers
4k
views
Undefined error in httr call. httr output: Failed to connect to localhost port 14415 after 0 ms: Connection refused
After updating to RStudio Version 2022.12.0+353 (2022.12.0+353), I am unable to find a freeport using netstat.
I have never had this problem before. How do I fix this?
library(RSelenium)
library(...
0
votes
1
answer
1k
views
Docker and netstat: why is netstat not showing ports, exposed by docker containers
Related to question Docker and netstat: netstat is not showing ports, exposed by docker containers where only solutions are discussed, I would like to know why this happens?
What happens:
If I serve a ...
1
vote
0
answers
169
views
Checking for port exhaustion with Netstat HttpClientFactory WPF
I want to check that I have properly implemented HttpClientFactory. I have a desktop application that pings my server every 20 seconds. When I open command prompt and run "netstat -ano | findstr {...
0
votes
1
answer
102
views
Scrape webpage that requires button click
I am trying to scrape data from the link below. I need to click and download a csv file available in the csv button from the webpage.
library(netstat)
library(RSelenium)
url <- https://gtr.ukri....
1
vote
2
answers
98
views
Shell script command help to shorten?
I have a command that is like this:
/bin/netstat -an | /usr/bin/awk -vmax=100 '/tcp/{split($5,a,":"); if(a[1] > 0 && a[1]!="0.0.0.0" && a[1]!="127.0.0.1&...
0
votes
0
answers
843
views
Retransmitted packets - how bad is it, what's normal?
Netstat always shows me retransmitted packets:
$ netstat -s -t
Tcp:
30 segments retransmitted
That's on my linux server a few hours after a reboot. What are normal to be expected numbers here?
...
3
votes
2
answers
2k
views
Why is the Recv-Q value in netstat equal to socket backlog + 1?
When I execute netstat -tulnp, the output is as follows:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp ...
0
votes
1
answer
76
views
Using Netstat -anlp within a menu system breaks my menu when I ctrl-c to stop output
I have several machines that I monitor through various means, tailing the access_log for apache2, running tcpdump, and also using netstat. I decided to set all these commands up in a menu system to ...
1
vote
0
answers
127
views
Is there a situation where curl can access a port that lsof doesn't to?
What could have led to this? [doge]
0
votes
0
answers
257
views
How to kill listening process on Windows?
My application (WIN32-Delphi-SecureBridge) creates an SSH tunnel to a PostgreSQL database. Sometimes the tunnel is not closed properly and a process is left which I cannot remove programmatically. ...
1
vote
1
answer
449
views
docker container not able to reach some of host's ports
I have a stack with docker-compose running on a VM.
Here is a sample output of my netstat -tulpn on the VM
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp ...
-1
votes
2
answers
1k
views
Port 6379 is occupied by a process with PID '-' in wsl2
I want to initiate redis-server on port 6379 but i got this:
Could not create server TCP listening socket :6379: bind: Address already in use
And here is the output of netstat -tunlp :
tcp 0 ...
0
votes
2
answers
1k
views
Does netstat command show devices, printers on your wifi network?
What network utility on a MAC can help me see what devices, printers are available, listening etc on my wifi. Netstat does not seem to show me my printer or Android device. For example,
My macbook pro ...
1
vote
3
answers
2k
views
How to use netstat -b to find ip from .exe file
So I was looking for a way that I can use netstat -b and findstr. I tried using it in cmd like this:
netstat -b | findstr "chrome"
But that just gives me output
[chrome.exe]
[chrome.exe]
...
0
votes
0
answers
333
views
netstat gives 1 as PID for all ssh connections
In my custom linux image using netstat 1.42 (2001-04-15) from the package net-tools 1.60 I am seeing different behaviors for different linux versions..
On Linux 5.4.28:
# netstat -tnp | grep ...
0
votes
1
answer
4k
views
Not able to find port number for tomcat process on Ubuntu
I am not able to find a port number for running Tomcat server on Ubuntu
i.e. netstart -anp | grep 'tomcat' but not getting any output.
0
votes
0
answers
7k
views
I've tried EVERYTHING: 2003: Can't connect to MySQL server on 'localhost:3306' (111 Connection refused)
I have been trying to deploy a Streamlit app on Heroku and connect to a MySQL database. With a consistent error: InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306' (111 Connection ...
5
votes
0
answers
2k
views
Clickhouse distributed table node stops accepting TCP connections
Clickhouse version: (version 20.3.9.70 (official build))
(I know this is no longer supported, we have plans to upgrade but it takes time)
The Setup
We are running three query nodes (nodes with ...
0
votes
1
answer
1k
views
Exception: Network.Socket.bind: resource busy (Address already in use) in docker
I'm working in a docker container and get this error.
My computer is windows.
I tried "netstat -ano -p tcp"
in the terminal and it gave me this:
Active Connections
Proto Local Address ...
0
votes
1
answer
588
views
ZeroWindow errors and netstat statistics?
I have been told that one of my servers intermittently throws ZeroWindow errors. I would like to monitor this in Prometheus.
If I run neststat -s some of the results are:
netstat -s
Ip:
...
...
0
votes
1
answer
157
views
How can I combine these codes in powershell?
(Get-NetUDPEndpoint |
Select-Object LocalPort, OwningProcess
) + (Get-NetTCPConnection |
Select-Object LocalPort, OwningProcess
) |
Sort-Object LocalPort, ...
0
votes
3
answers
1k
views
How can i show only local address and PID in powershell?
(netstat -ano) -replace '0\.0\.0\.0:(\d+)','$1 '
what i want is to show only local address and pid using above code
Proto Local Address Foreign Address State PID
...
1
vote
3
answers
3k
views
How can I show the netstat command in powershell without the 0 in the Local address?
I hope I could explain, sorry for my english
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1160
...
1
vote
1
answer
543
views
This request requires elevation
I am trying to list my ports on Windows using the netstat -a -b but I am getting this error :
This request requires elevation
I have tried to solve this by taking my laptop up to the roof level of ...
0
votes
1
answer
3k
views
TCP connection socket overflowed vs dropped
I'm investigating a performance issue that server performance gets degraded with low memory, CPU, and IO usage. I found those two values by this command.
$ netstat -s | grep -i listen
15848663 ...
1
vote
1
answer
195
views
How to find the port after typing netstat -b for class
enter image description here"4. At the prompt, type netstat -b and then press the Enter key on your keyboard. a. Select two active connections. Name the active applications (*.exe), the port(s) ...
0
votes
3
answers
2k
views
netstat process details with the IP address
My netstat command is as below on the Centos machine
#netstat -n | grep 172.18.0.6 | more
tcp 0 0 172.18.0.1:57332 172.18.0.6:8444 FIN_WAIT2
I want to find out which ...
1
vote
2
answers
892
views
How to remove Heading Lines from output of netstat command?
I am using C# language and I don't know from where should I start .As we all know when we run netstat command. The output we see in the command prompt is like:
Active Connections
Proto Local ...
0
votes
2
answers
965
views
Is there any alternative for netstat command in C#? [closed]
I am writing a C# program which tells the Active Connections (Protocal, Local Address , Foreign Address , State , Process Id ) . To do this I am running cmd.exe as a process and passing netstat -ano ...
0
votes
1
answer
194
views
How to find the first numbers of IP string netstat?
I would like to know, but cant find the solution.
How i can find IP with netstat that is starting with numbers like 200 only
netstat -ano | findstr 200
Searches from all occurrencies not from the ...