I am new to programming. And since yesterday I have been tormented by the question. Read a book about Servlet. It says that any server consists of 16 bit (65535) ports. Only one program can be written to one port. "This is a piece of software running on the server hardware.".
So I’m writing all web applications to free ports (for example, 1003, 1004), since you can write only one program to each port, and request data from this application through port 80?
I apologize in advance if terminoligiya and the question is not entirely correct