Normally when you open outgoing TCP sockets, without giving a specific
port number, the kernel will start allocating at 1024 and sequentially
increase every time you call bind() without a port number. Apache
probably was the first program to bind a TCP port, so it grabbed 1024.
PS. If you are thinking that port 1024 is priviledged (ie root only),
it's not. Ports 0-1023 are priviledged.
--Brian Gerst
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/