All Questions
44
questions
0
votes
0
answers
262
views
Ncat: Connection Refused when connecting on Linux server
I created a java application and ran it with docker inside a linux server XX.XX.XX.XX. That application should listen behind port 105 of that server. In fact, by executing the "netstat -an | grep ...
3
votes
3
answers
3k
views
How can I correctly check on what network interface SSH is listening on a Linux machine?
I am not a system engineer or a network expert (I am more a software developer) and I have the following problem that I have to solve.
I am working on an Oracle Linux machine (basically it should be ...
1
vote
1
answer
448
views
Troubleshooting outbound internet traffic - Fedora Linux
Without any programs open except an empty terminal window and System Monitor, I'm seeing network traffic. Roughly every 1 second there's a small spike in outbound and a little inbound traffic. $ sudo ...
1
vote
1
answer
422
views
Increased traffic - Server probed by bots?
Since December 24 my server experiences increased resource consumption. Additionally the Nginx server seems to be unstable which causes several errors.
The CPU usage used to average at around 5%. But ...
1
vote
1
answer
5k
views
How do I output a netstat command every 2 seconds to a text file
I am trying to make the following happen, but having a hard time getting it to work as expected.
Tried using the watch command, but the output is just a mess.
I found the following, but haven't been ...
3
votes
1
answer
12k
views
Reset Netstat statistics
Is there a method to clear the statistics of 'netstat -s' without rebooting the device?
I'm trying to determine the number of errors within a nondeterministic period of time.
1
vote
0
answers
146
views
Address/ports keep becoming stuck on ubuntu (server) - even after the process terminates
I'm having an issue on a headless Ubuntu 18.04 installation. Ports keep becoming "stuck" which is either preventing processes from terminating (even when sending a SIGKILL), or allowing the processes ...
0
votes
1
answer
2k
views
How to find open ports using netstat?
When I do a netstat -tuln, I get the following output
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:25 0.0.0.0:* ...
3
votes
1
answer
803
views
Why is the local address the same as the peer one?
A weird issue occurred while I was troubleshooting with ss, the local address is exactly same as the peer one. Same IP address is ok, but how to explain the same port?
0
votes
1
answer
2k
views
How do I open port 8100 on VMware?
How do I access port 8100 from a VM?
I want to access port 8100 on a linux VM. I am running lubuntu. I have tried multiple questions already and none of them seem to work:
Connection refused on ...
1
vote
1
answer
1k
views
sudo netstat -antp not showing PID
i am testing stuff with sockets and i encountered that strange case :
i coded i very simple tcp server in c, i made it block after accept(), just to see what happen when accepting multiple connection ...
1
vote
1
answer
3k
views
Listen for incoming request on port on Linux, then run command
I am after as lightweight as possible solution to listen on a port for a specific request, then run a command should the port be hit and the correct request be recedved.
Eg. Send a request to 192.168....
0
votes
2
answers
611
views
detailed understanding of netstat -an output on linux
I tried to look for a good doc on netstat especially for the options -an but cannot find anything detailed enough.
example 1:
tcp 0 126 android.home:58797 par10s34-in-x0e.1e100.net:https ESTABLISHED
...
2
votes
1
answer
232
views
How to log all ports once opened by a process/app in Linux for short time?
I have an app that makes some kind of upd ping to the network and for some short time listens for some port in order to receive some feedback during some timeout. It is short enough to observe if with ...
2
votes
1
answer
4k
views
How to find attached processes via unix domain socket?
I used netstat to acquire RefCnt column. And there are 2 attached processes via /var/run/mysqld/mysqld.sock. How to find their PIDs?
# netstat -a -p -A unix
Proto RefCnt Flags Type State ...