How do networking ports work? Can I configure the ports that client and server use?
- by joedotnot
Let's say i have a "server" program listening on address 1.2.3.4:69 (i.e. remote port 69)
When i connect from a "client" program to it, typically i would specify the IP address + port of the target or server system;
But what port would the client be using ? And how does the server know which port to connect back to the client on?
I understand…