Cant start quarkus on port 80 unless I run with sudo #29936
-
I get the error:
When I try to run quarkus normally: java -jar quarkus-run.jar This is on Ubuntu 22, Quarkus 2.6.2. and the VM is behind a very restrictive firewall but can be accessed from outside on port 80 as long I run the app with sudo. Also if I change the port from 80 to 8080 for example, I'm able to start it without sudo so its very strange. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That is normal Linux behavior not tied to Quarkus. Running any process on ports below 1024 normally requires root access. This article explains and provide some solutions that might work for you: https://serverfault.com/questions/112795/how-to-run-a-server-on-port-80-as-a-normal-user-on-linux |
Beta Was this translation helpful? Give feedback.
That is normal Linux behavior not tied to Quarkus. Running any process on ports below 1024 normally requires root access.
This article explains and provide some solutions that might work for you: https://serverfault.com/questions/112795/how-to-run-a-server-on-port-80-as-a-normal-user-on-linux