Guest User

Untitled

a guest
Dec 10th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. How can I listen on ports 80 and 443? Do I have to run as root?
  2.  
  3. On Linux, you can use setcap to grant your binary the permission to bind low ports:
  4.  
  5. $ sudo setcap cap_net_bind_service=+ep /path/to/your/binary
Add Comment
Please, Sign In to add comment