Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226323

Re: Cannot see a process listening on 127.0.0.1

From Victor Sudakov <vas@sibptus.ru>
Newsgroups linux.debian.user
Subject Re: Cannot see a process listening on 127.0.0.1
Date 2020-08-20 13:10 +0200
Message-ID <AFQCd-7gd-1@gated-at.bofh.it> (permalink)
References <AFLjb-42c-5@gated-at.bofh.it> <AFQsx-6XI-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Dan Ritter wrote:
> > 
> > There is a process listening on 127.0.0.1:8081 but for some reason
> > netstat/sockstat/ss do not show it listening on IPv4. Is this a bug or a
> > feature?
> > 
> > root@test4:~# telnet 127.0.0.1 8081
> > Trying 127.0.0.1...
> > Connected to 127.0.0.1.
> > Escape character is '^]'.
> > dd
> > HTTP/1.1 400 Bad Request
> > Connection: close
> > 
> > Connection closed by foreign host.
> > root@test4:~# netstat -lpn | grep 8081
> > tcp6       0      0 :::8081                 :::*                    LISTEN      10872/node /home/ad 
> 
> Feature-bug. It's listening on both IPv4 and IPv6; if you want to
> see them differently, add the 4 or 6 flag to netstat

Nope, the -4 flag does not help:

root@test4:~# telnet localhost 8081
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
dd
HTTP/1.1 400 Bad Request
Connection: close

Connection closed by foreign host.
root@test4:~# netstat -4lpn | grep 8081
root@test4:~# 

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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cannot see a process listening on 127.0.0.1 Victor Sudakov <vas@sibptus.ru> - 2020-08-20 07:30 +0200
  Re: Cannot see a process listening on 127.0.0.1 Dan Ritter <dsr@randomstring.org> - 2020-08-20 13:00 +0200
    Re: Cannot see a process listening on 127.0.0.1 Victor Sudakov <vas@sibptus.ru> - 2020-08-20 13:10 +0200
      Re: Cannot see a process listening on 127.0.0.1 Dan Ritter <dsr@randomstring.org> - 2020-08-20 13:20 +0200
        Fw: Cannot see a process listening on 127.0.0.1 Matthew Campbell <trenix25@pm.me> - 2020-08-20 14:40 +0200
  Re: Cannot see a process listening on 127.0.0.1 Andy Smith <andy@strugglers.net> - 2020-08-20 14:50 +0200
    Re: Cannot see a process listening on 127.0.0.1 Victor Sudakov <vas@sibptus.ru> - 2020-08-25 05:40 +0200
      Re: Cannot see a process listening on 127.0.0.1 Anssi Saari <as@sci.fi> - 2020-08-25 10:20 +0200
        Re: Cannot see a process listening on 127.0.0.1 Victor Sudakov <vas@sibptus.ru> - 2020-08-26 04:20 +0200

csiph-web