netstat is used in Windows with roots in Unix. In the Linux world, ss is more used than netstat.
ss displays "socket statistics" and is used to "dump socket statistics" as per its description.
Unlike netstat, ss talks to the Linux kernel directly.
Used without arguments, ss displays non-listening connections - so an nginx server simply listening for connections would not appear in the output, but an established connection (TCP for example) would appear.
To display listening connections also, do ss -l.
ss -lu