Port numbers are reserved by IANA. http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
You can see a partial list of some of the most popular ones in /etc/services, but it's rather incomplete compared to the source. -Steve On 3 May 2012 21:22, Whit Armstrong <armstrong.w...@gmail.com> wrote: > This is going really well. Thanks to all those who have shared advice. > > How does one go about choosing ports for an application? > > Obviously there are well known ports, but is there any doc in debian > that shows what ports have been 'reserved' by other applications? > > Thanks, > Whit > > > > On Tue, Apr 24, 2012 at 12:15 PM, Gergely Nagy <alger...@balabit.hu> wrote: >> Whit Armstrong <armstrong.w...@gmail.com> writes: >> >>>> I assume it has a main process, which when stopped, would result in the >>>> workers being killed too. If that is so, I do not think you need to >>>> store the pids of the workers anywhere. >>> >>> Perhaps I'm confusing terminology here. The main deamon does not >>> spawn the workers. It and the workers are started by the init.d >>> script. The workers and the main daemon should be started and stopped >>> together. >>> >>> In that case, it seems like I should store the pid's... so I can kill >>> them upon stop. >>> >>> Have I understood correctly? >> >> Correct. >> >> As a suggestion, I'd store the pidfiles under /run/your-program-name/, >> under names like worker:0.pid, and main.pid or somesuch. >> >> start-stop-daemon can be of great help here, but unfortunately, I don't >> recall any package off the top of my head that would serve as a good >> example, even though I know I've met one or two.. :( >> >> -- >> |8] >> >> >> -- >> To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org >> Archive: http://lists.debian.org/87aa21umvh.fsf@algernon.balabit >> > > > -- > To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/camipg43qrd0hfzoyld8yto_zelvhqx2+-htrolx5o9r_...@mail.gmail.com > -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cafiqyukk0n4y+erumxpacrtzm9d-gttmohty7bxhukfgkuc...@mail.gmail.com