@[email protected] to Programmer [email protected]English • 2 years agoHow to enjoy pythonlemmy.mlimagemessage-square7fedilinkarrow-up139arrow-down14file-text
arrow-up135arrow-down1imageHow to enjoy pythonlemmy.ml@[email protected] to Programmer [email protected]English • 2 years agomessage-square7fedilinkfile-text
minus-square@[email protected]linkfedilinkEnglish7•2 years agoAFAIK some distributions only allow root to bind ports below 1024 (that is, if you don’t so some other witchcraft…)
minus-squareaDogCalledSpotlinkfedilinkEnglish2•2 years agoYou cant run something on port 80 as a normal user. All ports below 1024 are privileged and therefore require sudo.
minus-squaregun/linuxlinkfedilinkEnglish2•2 years agoOnly root processes can bind to ports below 1000
But why sudo?
AFAIK some distributions only allow root to bind ports below 1024 (that is, if you don’t so some other witchcraft…)
You cant run something on port 80 as a normal user. All ports below 1024 are privileged and therefore require sudo.
Only root processes can bind to ports below 1000