Start service in low port whitout root

 

Locate the systemd file of that service:

pico /usr/lib/systemd/system/grafana-server


Add this 2 lines at service


[Service]


AmbientCapabilities = CAP_NET_BIND_SERVICE
CapabilityBoundingSet = CAP_NET_BIND_SERVICE

Run:
systemctl daemon-reload 


Restart service

How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos