[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot see a process listening on 127.0.0.1



Anssi Saari wrote:
> Victor Sudakov <vas@sibptus.ru> writes:
> 
> > It's different in *BSD which got me confused. In *BSD, even if you bind
> > to INADDR_ANY, you'll see something like this in sockstat output:
> >
> > root     dovecot    39601 21 tcp4   *:110                 *:*
> > root     dovecot    39601 22 tcp6   *:110                 *:*
> > root     dovecot    39601 23 tcp4   *:995                 *:*
> > root     dovecot    39601 24 tcp6   *:995                 *:*
> 
> Well, what about using ss instead of netstat on Linux? I don't seem to
> have any daemon running that would show different with netstat or ss so
> can't check.

Basically the same:

root@test4:~# netstat -lpn | grep 8081
tcp6       0      0 :::8081                 :::*                    LISTEN      10872/node /home/ad 
root@test4:~# ss -ln | grep 8081
tcp    LISTEN     0      128      :::8081                 :::*
root@test4:~# 


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

Attachment: signature.asc
Description: PGP signature


Reply to: