azist / azos

A to Z Sky Operating System / Microservice Chassis Framework
MIT License
213 stars 29 forks source link

Kestrel is not opening IPV4 listener #781

Closed itadapter closed 2 years ago

itadapter commented 2 years ago
$ netstat -tunlp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:19015           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:19010           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:19020           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:19025           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:19005           0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:19000           0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:49123         0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:10124           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:1040            0.0.0.0:*               LISTEN      -
tcp6       0      0 :::9025                 :::*                    LISTEN      -
tcp6       0      0 :::9005                 :::*                    LISTEN      -
tcp6       0      0 :::9000                 :::*                    LISTEN      -
tcp6       0      0 :::9015                 :::*                    LISTEN      -
tcp6       0      0 :::9010                 :::*                    LISTEN      -
tcp6       0      0 :::9020                 :::*                    LISTEN      -
tcp6       0      0 :::10123                :::*                    LISTEN      -
tcp6       0      0 :::1040                 :::*                    LISTEN      -
udp        0      0 127.0.0.53:53           0.0.0.0:*                           -
zhabis commented 2 years ago

Related https://github.com/azist/azos/issues/746 Kestrel Options

itadapter commented 2 years ago

it does open *:xxx catch-all listener. the problem is probably with balancer upstream routing

zhabis commented 2 years ago

Need to add server host dumpt to Kestrel middleware: {"ok":false,"status":503,"description":"Request was not handled by any Wave server instance"}

zhabis commented 2 years ago

It does. See #746 + HTTPS etc