DEV Community

Orestis Pantazos
Orestis Pantazos

Posted on • Edited on

1 1

🖇 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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay