DEV Community

Orestis Pantazos
Orestis Pantazos

Posted on • Updated on

🖇 Linux Server Commands

Shutdown:

sudo poweroff

Restart:

sudo reboot

Check on 80 port number if something is listening via netstat:

sudo netstat -plnt | grep ':80'

JBoss bind offset port number:

...\bin\standalone.bat -Djboss.socket.binding.port-offset=100

nginx - nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

sudo pkill -f nginx & wait $!

sudo systemctl start nginx

Top comments (0)