Jump to content

Caddy: Difference between revisions

88 bytes removed ,  8 July 2023
m
Fix table layout
imported>Malteneuss
m (Add debug subsections)
imported>Malteneuss
m (Fix table layout)
Line 102: Line 102:
$ netstat -tulpn
$ netstat -tulpn
Active Internet connections (only servers)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address     Foreign Address        State      PID/Program name     
Proto Recv-Q Send-Q Local Address           Foreign Address        State      PID/Program name     
tcp        0             0       127.0.0.1:2019          0.0.0.0:*              LISTEN      1202/caddy        
tcp        0     0 127.0.0.1:2019          0.0.0.0:*              LISTEN      1202/caddy          
tcp6      0             0          :::80                               :::*                 LISTEN      1202/caddy           
tcp6       0     0 :::80                   :::*                   LISTEN      1202/caddy           
tcp6      0             0          :::443                             :::*                 LISTEN      1202/caddy           
tcp6       0     0 :::443                 :::*                   LISTEN      1202/caddy           
udp6     0             0         :::443                             :::*                                   1202/caddy        
udp6       0     0 :::443                 :::*                               1202/caddy          
</syntaxhighlight>
</syntaxhighlight>
The tcp (ipv4) socket port 2019 is Caddy's management endpoint, for when you want manage its config via web REST calls instead of Nix (ignore).
The tcp (ipv4) socket port 2019 is Caddy's management endpoint, for when you want manage its config via web REST calls instead of Nix (ignore).
Anonymous user