Disable IPv6

#1
I want to disable IPv6 which is listening on my server by default.
How can I do that?

Bash:
[root@server ~]# sudo netstat -tulpn | grep tcp6
tcp6       0      0 :::80                   :::*                    LISTEN      5716/litespeed
tcp6       0      0 :::443                  :::*                    LISTEN      5716/litespeed
2022-08-29_224634.jpg
 
Top