manage application ports (uwsgi socket, stats socket for now)