1 min read

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

Orestis Pantazos

Orestis Pantazos

DevOps Engineer