siriusmart@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoHow to enjoy pythonlemmy.mlimagemessage-square6fedilinkarrow-up114arrow-down11file-text
arrow-up113arrow-down1imageHow to enjoy pythonlemmy.mlsiriusmart@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square6fedilinkfile-text
minus-squaregun/linux@latte.isnot.coffeelinkfedilinkEnglisharrow-up3·1 year agoOnly root processes can bind to ports below 1000
minus-squareaDogCalledSpot@lemmy.ziplinkfedilinkEnglisharrow-up1·1 year agoYou cant run something on port 80 as a normal user. All ports below 1024 are privileged and therefore require sudo.
minus-squareFUsername@feddit.delinkfedilinkEnglisharrow-up1arrow-down1·1 year agoAFAIK some distributions only allow root to bind ports below 1024 (that is, if you don’t so some other witchcraft…)
But why sudo?
Only root processes can bind to ports below 1000
You cant run something on port 80 as a normal user. All ports below 1024 are privileged and therefore require sudo.
AFAIK some distributions only allow root to bind ports below 1024 (that is, if you don’t so some other witchcraft…)