The netstat tag has no wiki summary.
1
vote
1answer
50 views
why ss(8) understands listening UDP ports differently than netstat(8)?
If I execute ss -lu in order to view all the listening UDP sockets, then none of the sockets are displayed. If I execute ss -au, which lists all(both listening and non-listening) UDP sockets, then ...
2
votes
4answers
254 views
How do I know what service is running on a particular port in linux?
I am trying to run weblogic server on my linux machine and I am getting the following error :
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to ...
3
votes
3answers
537 views
What's the easiest way to find an unused local port?
What's the easiest way to find an unused local port?
Currently I'm using something similar to this:
port=$RANDOM
quit=0
while [ "$quit" -ne 1 ]; do
netstat -a | grep $port >> /dev/null
if ...
5
votes
4answers
653 views
How to check that a daemon is listening on what interface?
Ex.: an sshd is configured to only listen on wlan0. So. Besides checking the sshd_config how can I check that a daemon is listening on what inerface? netstat can do it? how? (OS: openwrt or scientific ...
2
votes
4answers
188 views
How to do an IF statement from the result of a executed command
I am trying to do an IF statement from the output of an executed commmand. Here is how I am trying to do it, but it doesn't work. Does anyone know the right way to do this?
if [ "`netstat -lnp | ...
1
vote
1answer
286 views
Have netstat not display port numbers for foreign address
I would like to get netstat to not display port numbers on the foreign address so I can run some statistics on it. This is for a FreeBSD system.
The following is a example of the output.
...
1
vote
1answer
272 views
Netstat shows programs running on different ports then they should
I have some code I'm testing. Program A listens on a predefined socket for program B to connect to and for my testing I'm running 32 instances of the programs A and B. I've written my script to tell ...
4
votes
3answers
282 views
How can I know the process name which is opening a tcp port?
I have two linux servers. Let's say they are C and S.
C is client of S
On my S machine, I type.
$ netstat -an | grep ESTABLISHED
tcp 0 0 192.168.1.220:3306 C:57010 ...
1
vote
0answers
71 views
Information about the 1630/master app
When I run
$ sudo netstat -a --programs | grep LISTENING | grep 1630
I will get this output. Do you know what good are processes running under this app name? Why they I running on my system and if ...
1
vote
3answers
180 views
How can I identify processes that use network facilities, and can they be killed?
In the output of
netstat -a | grep LISTEN
there are usually a lot of processes. How (where) can I find out information about them, what is their purpose in the system and if I can kill them? Which ...
3
votes
3answers
1k views
How to list all unique ip address currently connected to a specific port?
Say I want to know how many unique clients are connected to port 5222 on a server.
Can you find a way better/faster/stronger than this?
netstat -nt | grep ':5222.*ESTABLISHED' | awk '{ print $5 }' \
...
2
votes
2answers
339 views
Per Socket network Buffer queues utilization
Is there a way to get a per-socket send and receive Queues utilization on Solaris similar to the way that Linux' netstat displays it?
Example on Linux:
Proto Recv-Q Send-Q Local Address ...
4
votes
4answers
4k views
Logging outgoing connections as they happen
Is there a way to log to file all the outgoing connections that a process creates? I am aware of Netstat but that seems to be more of a snapshot of a point in time rather than something that runs and ...
2
votes
3answers
275 views
VPN and gateway problems
I've got a corporate VPN, which I use to access the Internet. When it's on, I cannot reach the servers inside the corporate network anymore, so I think there are some problems with the gateway setup. ...
2
votes
3answers
2k views
7
votes
5answers
2k views
Under AIX, how can I get the full path of a program bound to a port?
Under Linux I can use netstat -tulpnw and ps, like so:
# netstat -tulpnw | grep :53
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1482/named
udp ...